Cannot list directory on IIS FTP server on Azure, even after configuring Azure inbound rules and Windows firewall

后端 未结 3 1019
猫巷女王i
猫巷女王i 2021-01-14 19:03

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

3条回答
  •  情歌与酒
    2021-01-14 19:17

    In Azure, we should deploy the passive mode FTP, we should add data channel ports range in FTP Firewall Support, then add those ports to NSG and windows firewall inbound rules.

    By the way, although the windows firewall seems to allow all traffic that’s required, we also need to enable stateful FTP filtering on the firewall:

    netsh advfirewall set global StatefulFtp enable
    

    Then restart the FTP windows service and we should be up and running:

    net stop ftpsvc
    net start ftpsvc
    

    Here is a similar case, same error as you, please refer to it.

    Check which port does the FTP site listen on:

提交回复
热议问题