I believe many students who use the windows
server, after opening the firewall, ftp can not be connected properly, what is the cause? ? Today is also the US Network
to talk about the basic principles of ftp transmission and the solution that can not be connected properly.
The ftp transmission data is divided into two modes: passive mode (passive mode) and port mode (active mode).
First talk about passive mode, also known as ftp passive mode. When you connect to the server on the client, the client opens two ports X and X+1 (where X is greater than 1024 for non-privileged ports), client port X sends a connection request to the server (port 21), and the server receives the request. After the request, open a random port Y (a non-privileged random port greater than 1024) and tell the client to let it connect, then the client uses the X+1 port to connect to the server's port Y, so the client and server connection Even if it is completed, after knowing the connection process, the firewall can be connected normally when the firewall is closed. However, when the Windows Firewall is opened, except for the common ports such as 80 and 21, the other ports are closed. When the client requests the server, the port opened by the server is random and is not in the firewall's exception port. Within, there will be cases where ftp cannot be connected properly.
Secondly talk about port mode, also known as ftp active mode. When the client requests a connection from the server, it uses its own random port X (a non-special port larger than 1024) to connect to the server's port 21, and then the client opens an X+1 to start listening and sends a port X+. The command of 1 is given to the server. Then, the server uses its own port (such as 21) to connect to the port X+1 sent by the client, thus completing the connection between the client and the server.
Understanding the ftp active connection and passive connection mode, when we open the firewall on the server, to ensure that ftp can be connected properly, we only need to use the ftp port mode connection on the client. Because port mode does not require the server to open other random ports. Client ftp uses more than flashfxp, we open flashfxp, modify its transfer mode, the specific steps, open flashfxp - Options - parameter settings - proxy, will "use passive mode" rdquo; .
Operation Center is a one-stop security management tool for Win7 system, we have many ways to open W
Why win10 play lol blue screen flash back good card? The previously released win10 preview version h
for free. Microsoft has announced that Win7 and Win8.1 users can upgrade for free within one year af
How to shield the win10 system pop-up advertising? On the Win10 system, sometimes some advertisement
VMware virtual machine windows + Linux installation virtual machine tool (VMware Tools) detailed
How to manage the boot project item
Win7 operating system installation UF software MSDE2000 database method
When will the Win10 Consumer Preview be released? At the end of April next year,
Microsoft Win10 official version of the official blog published on the line attached address
Windows system setting IP address setting tutorial
Win10 preview version 10532 cool black interface how to set up?
Win10 10176 RTM Candidate Edition Get Started Video Microsoft has given up this version of
Win32 to Win10 UWP application tool update v1.4: repair many Bug
Play Win8 consumer preview version must know the shortcut key: Win+X
Teach you to clean up junk files on Windows 7 system
Win10 update failure prompts error code 0x80246019 how to solve?
Win10 Xiaona search how to use third-party browsers
Use the "Send To" command to easily transfer files
Win10 system Edge browser playing games black screen failure reasons and solutions
Data security is not asking for people, Win 8 easily get disk encryption
Photocoupler and its application circuit diagram
Linux is a way to execute programs as other users.
Why does my hard drive become a pluggable device after installing this system?