How to expose HTTP port on azure VM

6,077

This will be one or more of the below:

  • There is an NSG at the subnet level as well which is not allowing data through
  • There is a firewall on the VM its self (windows firewall etc.)
  • There is nothing listening on that port

Also, bear in mind that opening the RDP port to any traffic is a bad idea, you will see brute force attack attempts very quickly. I suggest looking at Just in Time VM access, or locking down to specific IP ranges.

Share:
6,077

Related videos on Youtube

SwapnilKumbhar
Author by

SwapnilKumbhar

Software Developer by profession. Photographer by heart. Tracker/tourist on weekeends. Curious for new technologies. Java / Ethereum Blockchain contract developement

Updated on September 18, 2022

Comments

  • SwapnilKumbhar
    SwapnilKumbhar over 1 year

    I am trying to expose port 7445 on my azure VM (Windows server 2008) for HTTP (not HTTPS) requests, I have added an inbound rule for this port still cant access it. Dose any one have idea what I am doing wrong? below is the screen shot of my inbound port rule

    I have tried with different priorities also, I am trying to access the spring boot api running on this VM through POSTMAN

    enter image description here enter image description here

    • Alex Moore
      Alex Moore over 5 years
      Is there a network security group attached to the subnet as well? Is it definitely listening on that port, i.e. can you connect on localhost when connected to the server? Is there a policy on any software firewall on the server itself?