PASV Port Range Modification method for FTP servers under IIS _ftp server

Source: Internet
Author: User
Although there are some ways to reduce the scope of the port, but the scope can not be narrowed to the ideal range, normally PASV port will use up to 10 bar, even the dedicated FTP download server up to 20 is enough. Here's how to modify the PASV port of an FTP server using the IIS management utility adsutil.vbs:

Using the command line to execute sequentially
CD c:\Inetpub\AdminScripts
Adsutil.vbs set/msftpsvc/passiveportrange "10000-10009"

It is possible that some servers have been configured securely, so that direct execution prompts for the failure information, you need to use the Cscript, log in with the Admin user, and continue the command line to execute the following command in order
CD c:\Inetpub\AdminScripts
cscript adsutil.vbs set/msftpsvc/passiveportrange "10000-10009"

This example opens the specified 10 ports 10000 through 10009
Restart the FTP service after execution, with the exception of these ports in the firewall if the firewall is started.

At this point, port changes are complete

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.