title: Cannot list directory on IIS FTP server on Azure, even after configuring Azure inbound rules and Windows firewall
body: <p>I'am running Windows Server 2012 in Azure, and I've configured the FTP server in IIS. When I try to connect the server, it accepts the username and password and log me in but not showing the directory listing.</p>
  
  <ol>
  <li><p>I've tried using FileZilla FTP client to connect and it saying the same error.</p>
  
  <pre><code>Status: Resolving address of jothiprakashanandan.southindia.cloudapp.azure.com
  Status: Connecting to 104.211.244.241:21...
  Status: Connection established, waiting for welcome message...
  Status: Insecure server, it does not support FTP over TLS.
  Status: Logged in
  Status: Retrieving directory listing...
  Command:    PWD
  Response:   257 "/" is current directory.
  Command:    TYPE I
  Response:   200 Type set to I.
  Command:    PASV
  Error:  Connection timed out after 20 seconds of inactivity
  Error:  Failed to retrieve directory listing
  Status: Disconnected from server
  </code></pre></li>
  <li><p>The inbound rule of Azure is this:</p>
  
  <p><img src="https://i.stack.imgur.com/1odz7.png" alt="Azure Inbound Rule"></p></li>
  <li><p>The VM's firewall inbound rule. <img src="https://i.stack.imgur.com/VqLKJ.png" alt="VM&#39;s inbound rule"></p></li>
  <li><p>However when I try to login from the VM's browser it is working fine and showing the directory list.</p></li>
  </ol>