Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Enabling port for net.tcp communication in Azure VM

$
0
0

I have created a Windows WCF Service and I want to host it inside Azure VM.

The service is locally running fine inside the VM, but when attempting to access the service outside of the VM, I cannot connect to the service at the specified port.

While requesting the service, I'm getting the following error:

SocketException (0x274d): No connection could be made because the target machine actively refused it...

Also, while pinging the VM through the command prompt with public ip, I'm getting Request timed out.

I have enabled the port for TCP in Azure inbound rules as well as in VM firewall inbound rules. The VM is Windows Server.

How can I access the service running in the VM from another system?


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>