Connection Refused on port 80 in Azure

0 votes

Hi Team,

I have hosted one web page in Azure VM. The service is working fine. But I am not able to connect to the web page. It is showing connection refused. How can I solve this error?

Nov 11, 2020 in Azure by akhtar
• 38,260 points
2,374 views

1 answer to this question.

0 votes

Hi@akhtar,

You may face this error if you didn't allow port 80 in your VM. Your browser is trying to connect the web page at port no. 80. But your VM is not allowing inbound traffic. You need to allow the port no. 80 to solve this error.

$ az vm open-port -g MyResourceGroup -n MyVm --port 80 --priority 100


Hope it helps!

If you want to become Azure solution architect, then join Azure online course today.

Thank you!!

answered Nov 11, 2020 by MD
• 95,460 points

Related Questions In Azure

0 votes
1 answer

Azure website on Entity framework connection string not being picked up.

Try to leave the connection string in ...READ MORE

answered Apr 23, 2019 in Azure by Prerna
• 1,960 points
1,256 views
0 votes
1 answer

Sign-in issue on microsoft azure account.

In such cases, you could try the following: you ...READ MORE

answered Dec 27, 2019 in Azure by Sirajul
• 59,230 points
1,250 views
0 votes
1 answer
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points

edited Jun 21, 2023 by Khan Sarfaraz 1,038 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 29, 2020 in Azure by nbavis
• 380 points
1,270 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points
839 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points
2,038 views
0 votes
1 answer

Reset the SSH configuration on a VM in Azure.

Hi@akhtar, It is required to change the SSH ...READ MORE

answered Nov 18, 2020 in Azure by MD
• 95,460 points
1,413 views
0 votes
1 answer

How to install Azure CLI on Windows?

Hi@akhtar, For Windows, the Azure CLI is installed ...READ MORE

answered Nov 10, 2020 in Azure by MD
• 95,460 points
1,044 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP