To set up a surv-u ftp server on azure:
1. Install surv-U on the VM (with the exception of adding surv-u to the firewall, you can check the last step of surv-u installation and set it automatically)
2. Set the listening port range for surv-u listening port and passive mode:
Listening port: 12500 (the default port 21 is not used for security reasons ):
The listening port range for passive mode is 12501-12502:
3. add the VM endpoint (Port ing) to the azure management background, and add the listening port (12500) to the ports dynamically enabled by the server (,) when the passive mode is used) (So here I only set two passive mode ports. Otherwise, it is too troublesome to add them one by one, that is, this ftp site can transmit up to two data at the same time ):
Success!
The key point is to manually set the passive port range of surv-U and add it to the VM endpoint: otherwise, the FTP server will transmit data with the client each time, dynamically and randomly listen to the data transmission connection of the client using a port. This port cannot be set in advance in the VM endpoint settings, which leads to data transmission failure.
The FTP client (such as flashfxp) can connect to the server, but cannot obtain the contents of the root directory of the server.