Now you can Subscribe using RSS

Submit your Email


Open Port 443 in Azure Virtual Machine

Vishal Shrestha
In this tutorial we will see how we can open port number 443 in Azure Virtual Machine. This will allow HTTPS traffic to your website. The virtual machine can be running on anything from Linux to windows. This is pretty so simple so let's just get started.

Add 443 Endpoint in Azure Virtual Machine

  1. First of all go to Azure Portal, and login.
  2. Azure Portal
  3.  The above screenshot shows my Azure Portal. Now go to your Virtual Machine and you'll see something like this:
  4. Virtual Machine Azure

  5. Now on the left hand side you can see a lot of options, but you just need to click on the endpoints options, that's where we'll be adding the port. After clicking it, you'll see something like this:
  6. Azure Virtual Machine End Points

  7. Now you can see a list of already open ports, as you can see the https port is already opened in this picture, that is port number 443. I had already opened the port before taking the screenshot. My Bad. However you need to click on the add button on top to add any port. So just click on the add button and you'll see something like this:
  8. Azure VM adding Endpoint(Port)
  9. Now this is the last step, you can easily add the required port here and click ok at the bottom and it will be saved. Add anything as the name that will help you remember what the port is later and in the private and public port just add 443 for now. You can also have different ports in public and private port but that will need some configuration in your VM so let's just keep it the same for now. For HTTPS the protocol is TCP so keep that unchanged and also leave the floating IP disabled. Finally, hit OK and you are done
This is it, this way you can easily add port in Azure Virtual Machine, if you have any queries feel free to drop them in the comments section below.

Vishal Shrestha / Author & Founder

A developer by profession, a born Adventurer. I mainly do Android but like to get my hands dirty with web development and a little bit of Python. I would't rather go on a Trek than a party and you can find me having a few rounds with the heavy bag to let out the steam ;)


Research and Development at : Ekghanti

Mobile Technology Lead at : Vimvox Lab

For Business info : My Portfolio Site


Post a Comment

Coprights @ 2017 | The Code City by Vishal Shrestha Vishal Shrestha