Enable a Service Fabric Service to send PING to an external host (C#)

偶尔善良 提交于 2019-12-24 19:08:15

问题


I have a method in a Service Fabric Stateless Service (not an API) that sends a PING request to an external host. It works on my Local Service Fabric Cluster, but not on the actual cluster on Azure.

I RDP'd to the cluster and pinged hosts, all of them resulted to "Request timed out".

Anyone tried this before? I'm playing around the cluster's Firewall.


回答1:


ICMP is blocked inside Azure. You can use PSPing to check connectivity though.

More info here.

Because the ICMP protocol is not permitted through the Azure load balancer, you will notice that you are unable to ping an Azure VM from the internet, and from within the Azure VM, you are unable to ping internet locations.



来源:https://stackoverflow.com/questions/48334753/enable-a-service-fabric-service-to-send-ping-to-an-external-host-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!