简体   繁体   English

通过Internet访问Azure虚拟机上的自托管WCF服务

[英]Access to a self-hosted WCF service on azure virtual machine over the Internet

Actually the question is kind of duplication of the following one Unable to access a locally hosted wcf service over the internet but with only difference that the service is hosted by a windows service on Azure Virtual Machine . 实际上,问题是以下一项的重复: 无法通过Internet访问本地托管的wcf服务,唯一的区别是该服务由Azure虚拟机上的Windows服务托管

I can access the service on the machine and I have added an endpoint to the service port at Azure Configuration console, but still cannot access the service over the Internet. 我可以访问计算机上的服务,并且已在Azure配置控制台的服务端口上添加了终结点,但是仍然无法通过Internet访问服务。

The error message that is not possible to set up connection. 无法建立连接的错误消息。

Is my scenario technical possible on azure? 我的方案在天蓝色下是否可行? if yes - what is done wrong? 如果是,-做错了什么?

The answer to my question was pretty straightforward. 我的问题的答案非常简单。 Although I opened my endpoint in Azure Management Console the port was blocked by the virtual machine firewall (windows firewall). 尽管我在Azure管理控制台中打开了端点,但该端口被虚拟机防火墙(Windows防火墙)阻止。 After setting in- and out- tcp port rule, the problem had gone. 设置进出端口规则后,问题就消失了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM