Manual Configuration Method for FTP Passive Mode (PASV) with Shared IP (Applicable to Shared IP Elastic Cloud)
Published: 2015-03-13
Hosts with a shared IP only support pasv (passive mode) upload; for details, see help: http://www.west.cn/faq/list.asp?unid=32
Passive mode ports are mainly used to support FTP servers using passive mode. If you have purchased our company's elastic cloud host shared IP server, then for cloud hosts with an integrated environment preinstalled, by default the system has automatically set the FTP passive mode port. If the passive mode port is not set correctly, FTP will not work properly.
If the automatic system setting fails, or if you installed a clean version, you need to manually set the PASV port range for the FTP service, with the start port being: remote desktop port + 2, and the end port being: remote desktop port + 4. For example, if the remote login port of your shared IP is 10000, then the start port of your PASV is 10002 and the end port is 10004.
The following are manual configuration methods for win and linux
win server (supports 2003, 2008, 2012)
Please download setmsftppassPort.vbsAfter double-clicking to run, enter the remote desktop port (enter the correct port according to the above instructions), and the system will automatically configure it for you (only for the case of using Microsoft FTP; if you use other FTP servers such as servU, please configure it yourself).
Note that windows2008 and windows2012 also need to set the external IP address of the firewall; this IP is the remote connection IP address.
Open IIS, click the computer name, as shown in ebs-xxx >, then double-click ftp firewall support >, and configure as shown:

The windows2003 system cannot set the external IP address. Uploading with general ftp software may prompt that establishing the data socket failed, as shown in the figure:

You must use flashxp or FileZilla Client (strongly recommended) software for uploading, and the upload port must be specified as the assigned FTP port
Linux (only supports servers with the wdcp environment installed)
For Linux servers, you need to modify the /www/wdlinux/etc/pure-ftpd.conf file and set the value of PassivePortRange to the correct range, for example
PassivePortRange 10002 10004
ForcePassiveIP 211.149.224.33
10002 10004 are remote port +2 +4 211.149.224.33 is the IP address for remote connection
Note: This is only for the case of using pureftp; if you use other FTP tools, please configure them yourself.
Only after the above settings can the FTP service of the elastic cloud host based on shared IP be used normally
