0

I have Azure Linux VM created with httpd running on port 80, here is putty:

enter image description here

I have enabled/allowed azure vm security group to allow port 80 traffic.

enter image description here

When I try to access this vm from my browser using URL, http://boxpublicip:80, getting ERR_CONNECTION_TIMED_OUTany idea what am I missing?

NOTE: My SSH is working fine. This is only issue with port 80.

1

Can you run:

sudo iptables -L

To see the firewall configuration on the VM side, just to see if port 80 is open on the VM firewall?

  • This is correct. It seems RHEL VM has firewall blocking the incoming traffic on this port. Once I opened the firewall was able to access the port. – kosa Jun 15 '18 at 14:58
0

It seems that the network connection is working properly on your end. Also you can use telnet ip address 80 to make sure the port 80 is listening. After that, there are possible web application issues causing this error.

For the error ERR_CONNECTION_TIMED_OUT, you can check the methods 1-5 referring to this link.

  • Thanks for the reply! I tried telnet, the message was: Could not open connection to the host, on port 80: Connect failed. I am pretty sure that ERR_CONNECTION_TIMED_OUT is due to this couldn't open connection to 80, not due to the issues you linked. – kosa Jun 15 '18 at 5:59
  • Please verify if there is a rule to allow port 80 with the firewall on the Azure VM. And do you have a proxy set locally. Can you access another websites by using URL http:xxx normally? – Nancy Xiong Jun 15 '18 at 6:25

protected by Community Aug 22 at 11:44

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.