FTP port & PASV

Source: Internet
Author: User
Tags ftp login

Usepassive-specifies whether the active or passive mode is used. Earlier, all clients used active mode and work well. Now, due to the existence of the Client Firewall, some ports will be closed,
In this way, the active mode will fail. In this case, the passive mode is required, but some ports may also be blocked by the server's firewall. However, because the FTP server needs its FTP service to connect to a certain number of clients,
Therefore, they always support the passive mode. This is why we need to use the original intent of the passive mode. To ensure that data can be transmitted correctly, the passive mode is obviously better than the active mode.
(Note: In active (port) mode, a data transmission channel is initiated by the server. The server uses Port 20 to connect to a port greater than 1024 of the client. In passive (PASV) mode,
The establishment of the data transmission channel is initiated by the FTP client, which uses a port greater than 1024 to connect to a port greater than 1024 of the server)

Why is port safer than PASV?

During FTP transmission, a dedicated connection is required to transmit data. There are two methods to establish a connection: the FTP Server opens a port, and the client can connect to the port to establish a connection. This is the PASV method. One is that the FTP client opens a port, and the server connects to the port to establish a connection. This is the port mode. Obviously, if the server opens a port, it means a port is opened to the Internet. Therefore, port mode is safer than PASV mode.

Summary: PASV is passive. FTP is passive, waiting for the customer to connect. Is it lazy! Poor security
Port is active, FTP actively connects with customers, so it is diligent and highly secure.

Some FTP accounts and passwords are correct but cannot be logged on,

The problem is that the FTP login requires the port connection method. the default PASV mode is usually used for FTP software connection. This FTP requires the port mode, so an error occurs when you enter the list. The solution is to change the port connection mode.

Many FTP accounts and passwords are published correctly, and you may not be able to connect to them.

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.