External web deploy to Azure VM
VM Web deploy configuration from outside of Virtual network needs this configuration
Configure Firewall Exceptions
By default, the IIS Web Management Service listens on TCP port 8172. If Windows Firewall is enabled on your web server, you'll need to create a new inbound rule to allow TCP traffic on port 8172 (all outbound traffic is permitted by default in Windows Firewall). If you use a third-party firewall, you'll need to create rules to allow traffic.