Shawn A
Shawn A

Reputation: 107

Cannot connect to my website running on Azure VM

I cannot seem to connect to my website running on Azure VM. I have looked through every single Azure docs.

I allowed incoming connections to port 80 per documentation: enter image description here

I have a very basic Hello World nodejs app listening on port 80 (i confirmed this app works locally my own system):

enter image description here

I am attempting to connect to the site via the Public IP assigned to me that i see in Azure Portal: enter image description here

The problem is any attempt to connect to 40.XXX.XXX.230:80 in Chrome simply times out.

I am new to VM's but i think something is wrong with port forwarding?

Upvotes: 1

Views: 750

Answers (1)

Andrew Shepherd
Andrew Shepherd

Reputation: 45252

Another thing to check:

Remote desktop into the virtual machine, and confirm that the virtual machine's local firewall allows incoming HTTP and HTTPS connections.

Image of Windows Defender Firewall

Upvotes: 2

Related Questions