IIS6 (FTP) 中的 PassivePortRange 问题

发布于 2024-07-24 09:17:35 字数 341 浏览 2 评论 0原文

我正在尝试为 Windows Server 2003 中的 IIS6 上运行的 ftp 服务器指定被动端口范围。

我使用过: adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5600"

我已签入元数据库文件并将更改应用于它。 我还可以使用:

adsutil.vbs get /MSFTPSVC/PassivePortRange

它返回我设置的范围。

重新启动 ftp 服务、重新启动 IIS 甚至重新启动后,ftp 服务器仍然使用其默认范围(5000-65535 AFAIK)。

我还有什么需要做的吗?

I'm trying to specify the passive port range for an ftp server running on IIS6 in Windows Server 2003.

I've used:
adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5600"

I've checked in the metabas file and the changes are applied to it. I can also use:

adsutil.vbs get /MSFTPSVC/PassivePortRange

and it returns the range I've set.

After restarting the ftp service, restarting IIS and even rebooting, the ftp server still uses it's default range (5000-65535 AFAIK).

Is there something else I need to do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦情居士 2024-07-31 09:17:35

我已经解决了。 这是windows防火墙的一个bug。
如果禁用防火墙,则端口 raneg 可以正常使用。

我在防火墙中启用了“FTP 服务”以及我想要的端口范围。 我禁用了 FTP 服务,而是手动添加了端口 21。 现在工作正常了!

I've worked it out. It's a bug in the windows firewall.
If you disable the firewall, the port raneg is used properly.

I had the "FTP service" enabled in the firewall as well as the port range I wanted. I disabled the FTP service and instead added port 21 manually. Now works fine!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文