ping虚拟机 [英] Ping virtual machine

查看:109
本文介绍了ping虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个静态IP为10.0.0.20的虚拟机

i have a virtual machine with static IP 10.0.0.20

为其分配了一个公共IP

it has an assigned Public IP to it

我需要能够ping通而不是psping我的虚拟机.

i need to be able to ping and not psping my virtual machine.

我的应用程序是在c#下开发的Windows窗体应用程序,它需要对服务器执行ping操作,并在对服务器执行一些任务之前检查它是否具有访问权限.

my application is a windows form application developed under c# and it needs to ping the server and check that it has access to it before performing some tasks on it. 

我无法从我的C#应用​​程序中使用psping.

i cannot use psping from my c# application.

请告知

Nassim

推荐答案

Azure中未启用Ping.目前尚无解决方法.您需要使用特定的端口ping,例如您提到的PSPing. 
Ping is not enabled in Azure. There is not a work around for this. You need to use a specific port ping instead such as PSPing which you mentioned. 


这篇关于ping虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆