salman rafiq
salman rafiq

Reputation: 81

How to open ports on azure virtual machine?

I set a new port by Add EndPoints option but it does not open that specific port on azure virtual machine.... i checked using following link can any one tell me how to resolve this issue?

http://postimg.org/image/wb5rid6ib/

TCPSockets endpoint is not open on my virtual machine

Upvotes: 1

Views: 9112

Answers (1)

Peter Kirchner
Peter Kirchner

Reputation: 829

Add-AzureEndpoint opens a port at the Azure firewall not your at your VM's side. That means after opening the port in Azure, you have to open the port at your VM's individual firewall, too. Depending on your operating system that could be done differently. E.g. in Windows Server you would configure the Windows Firewall.

More precisely, Add-AzureEndpoint create a port forwarding rule from the specified public port to the private port you have specified for your VM.

Upvotes: 3

Related Questions