From 6131a4b6ed74a01c1756408271d560f4919953d6 Mon Sep 17 00:00:00 2001 From: Chintal Patel Date: Tue, 12 May 2020 13:47:13 -0300 Subject: [PATCH] Update troubleshooting-web-deploy-problems-with-visual-studio.md If you can add the changes I made than it will be very helpful for someone who might have missed this small setting under NSG/Firewall in the Azure. I wasted around 1hr to figure this out. And when I added I was successfully able to connect to Server through Web deploy from Visual Studio. --- ...oubleshooting-web-deploy-problems-with-visual-studio.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/iis/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio.md b/iis/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio.md index 3b1e39d34..11358121c 100644 --- a/iis/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio.md +++ b/iis/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio.md @@ -47,6 +47,13 @@ If they are not there, you need to install the Management Service through the Ad Has the web management service been allowed through Windows Firewall? When you install the Web Management Service on the server, an inbound firewall rule named Web Management Service (HTTP Traffic-In). Verify this rule is enabled by going to Start->AdministrativeTools-> Windows Firewall with Advanced Security. Click Inbound Rules and find the Web Management rule in the list. It should be enabled for all profiles. If you are using a 3rd party firewall, you need to ensure inbound connections on port 8172 are allowed. +**Have you added a inbound rule at NSG/Firewall level for the resource?** + +Make sure one has added inbout rule at NSG/Firewall level to allow request for port 8172 as shown below at all the levels i.e VNET/Subnets/NIC + +Priority Name Port Protocol Source Destination Action +100 Port_8172 Any Any Any Any Allow + **Is the service URL correct?** By default, the Web Management Service listens on port 8172, but this can be changed. The easiest way to check what port is being used is to open the Management Service pane as described above, and look at the IP and port information in the Connections section. If the port has been changed to something other than 8172, you will need to ensure the new port is allowed through the firewall, and update the service URL in Visual Studio's publishing settings to use the new port.