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,170 points
100 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
answered Nov 11, 2020 by MD
• 95,060 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 p
• 1,960 points
443 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
• 58,990 points
331 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
• 58,990 points
224 views
0 votes
2 answers

Azure DevOps and its need?

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

answered Aug 28, 2020 in Azure by nbavis
• 380 points
338 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
• 58,990 points
198 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
• 58,990 points
938 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,060 points
100 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,060 points
214 views