Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Azure Virtual Machine - Opening a port

I am trying to open a port in a Windows Azure virtual machine. I have a game listening on that port, and I am able to access it via localhost, so the game is running.

I have also opened the port in the firewall and created an endpoint in the virtual machine, but the port doesn't seem to be open to the outside world. I have tried accessing it both via the IP address and the DNS with the same results.

Is there anything else I should do? I have looked up several tutorials online and can't figure out what I am doing wrong.

like image 967
Irina Avatar asked Jan 13 '14 04:01

Irina


People also ask

How do I open a port on a Virtual Machine?

To forward ports in VirtualBox, first open a virtual machine's settings window by selecting the Settings option in the menu. Select the Network pane in the virtual machine's configuration window, expand the Advanced section, and click the Port Forwarding button.

How do I know if a port is open on Azure VM?

To find specified open port, use find switch. For example, to find if the port 560 is open or not, do netstat -an |find /i "560" command. The service should listen on 0.0.

How do I allow TCP 8080 on a new created Virtual Machine?

After you create a virtual machine, you need to modify the network security group (NSG) to allow connections from TCP port 8080 to the virtual machine. Instructions: Review the underlined text. If it makes the statement correct, select "No change is needed".


2 Answers

this has changed to this

enter image description here

I would recommend ignoring 100% of what is on google at the moment

like image 55
Mr Heelis Avatar answered Sep 22 '22 08:09

Mr Heelis


Irina, make sure you have configured your endpoint properly by setting the private and public port. Here's a documentation that explains the steps to accomplish this...

http://www.windowsazure.com/en-us/documentation/articles/virtual-machines-set-up-endpoints/

like image 42
Leo Avatar answered Sep 20 '22 08:09

Leo