首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

Win7下防火墙开着没法被其他机器访问FTP Server的解决方案

2012-07-04 
Win7上防火墙开着没法被其他机器访问FTP Server的解决方案The following 4 steps will allow both non-sec

Win7上防火墙开着没法被其他机器访问FTP Server的解决方案

The following 4 steps will allow both non-secure and SSL FTP traffic through firewall.

运行cmd,之后:

1.如果你的FTP是RC0之后的版本的话,直接跳到第3步骤;如果你的是RC0版本的话,需要在cmd里输入以下命令行然后按回车执行命令:

sc sidtype ftpsvc unrestricted

2.执行1步骤之后重启FTP服务:

net stop ftpsvc & net start ftpsvc

3.设置防火墙以允许“ftpsvc”服务监听它所开启的所有端口:

netsh advfirewall firewall add rule name="FTP for IIS7" service=ftpsvc action=allow protocol=TCP dir=in

4.确保禁止防火墙的FTP过滤:

netsh advfirewall set global Statefulftp disable


执行上述命令之后即可。

Warning: Do not use active FTP connections with SSL if client is behind NAT. It will not work.

热点排行