Installing Secure FTP Server on Microsoft Azure using IIS

You may want to install a secure FTP server on Microsoft Azure Windows instance either as standalone file storage or to have means of editing your website hosted on IIS (Internet Information Services) web server. In both cases, you can use an optional FTP Server component of the IIS. It can be installed standalone or along with a Web Server.


RDP to the Azure Instance

To RDP to the Azure instance:

  • Click on the Connect button on the top bar of your virtual machine page in Azure Portal.
  • “Open” the .rdp file and connect to the server.

Installing FTP Server

Follow a generic guide to installing secure FTP server on Windows.

When installing, bear in mind that Microsoft Azure Windows servers are behind an Azure firewall/NAT, so you need to configure FTP server accordingly.

Ports Opening

You need to open/forward ports in Azure firewall/NAT for use with FTP server.

  • Go to the Network page of your virtual machine.
  • Create rule for the FTP control connection:
    • Click Add inbound port rule.
    • Select “FTP” in the Service field.
    • Click the OK button and wait for the rule to be created.
  • Create rule for FTP data connections according to the range you specified when setting up the FTP server:
    • Click Add inbound port rule.
    • Keep the Custom in the Service field.
    • Type port range in a format min-max (e.g. 5000-5100) in the Port ranges box.
    • Type “FTP-data” in the Name box.
    • Click the OK button and wait for the rule to be created.


If you have multiple virtual machines running an FTP server, you can reuse the configured network security group.

Connecting to Your FTPS Server

Your secure FTPS server is now running and can be connected to.

Further reading

Last modified: by martin