Site from Azure VM to web

%3CLINGO-SUB%20id%3D%22lingo-sub-2655324%22%20slang%3D%22en-US%22%3ESite%20from%20Azure%20VM%20to%20web%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2655324%22%20slang%3D%22en-US%22%3E%3CP%3ENewbie%20here%2C%20have%20a%20vm%20on%20azure%20running%20Windows%20server%202019%20with%20IIS.%20Have%20installed%20a%20ticketing%20application%20to%20be%20hosted%20on%20IIS.%20I%20can%20access%20the%20application%20using%20%3CA%20href%3D%22http%3A%2F%2Flocalhost%3Aportno%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Flocalhost%3Aportno%3C%2FA%3E%20from%20the%20azure%20vm%20itself.%26nbsp%3B%20I%20want%20to%20access%20this%20site%20from%20the%20internet%20from%20anywhere.%20Are%20there%20any%20materials%20i%20could%20read%20up%20for%20this%20to%20be%20done.%20Thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2656351%22%20slang%3D%22en-US%22%3ERe%3A%20Site%20from%20Azure%20VM%20to%20web%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2656351%22%20slang%3D%22en-US%22%3EFollowing%20link%20will%20provide%20guide%20for%20creating%20network%20security%20group%20(NSG)%20and%20inbound%20security%20rule%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fwindows%2Fnsg-quickstart-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fwindows%2Fnsg-quickstart-portal%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20try%20to%20access%20from%20both%20internal%20IP%20address%20and%20external%20firewall%20IP%20address.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

Newbie here, have a vm on azure running Windows server 2016 with IIS. Have installed a ticketing application to be hosted on IIS. I can access the application using http://localhost:portno from the azure vm itself.  I want to access this site from the internet from anywhere. Are there any materials i could read up for this to be done. Thanks

4 Replies
Following link will provide guide for creating network security group (NSG) and inbound security rule: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal

Then try to access from both internal IP address and external firewall IP address.

1. Does your VM have public IP?
2. If yes, we need to open port 80 on NSG Inbound between your VM and internet like
source - Any or (Service Tag -> internet), Destination =your VM public IP.
3. To test around, have source - any, destination - any and port - 80, protocol - any
4. Note having any , any in inbound is a security risk. Once testing done, please remove it open ports accordingly between source and destination

5. As MaR1a said, refer the https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal

Thank you will try this
Thanks