windows2012/2016/2019 iis自带ftp被动端口修改

1.powershell执行: 

Set-WebConfiguration "/system.ftpServer/firewallSupport" -PSPath "IIS:\" -Value @{lowDataChannelPort="60000";highDataChannelPort="60020";} 


2.powershell执行:

 

 Restart-Service ftpsvc

 

3.防火墙配置放行端口范围

\原文:

https://www.server-world.info/en/note?os=Windows_Server_2019&p=ftp&f=2

posted on 2021-08-16 11:33  kobe  阅读(1256)  评论(1编辑  收藏  举报

导航