Today, my friend asked me to help set up the FTP of the server. I initially analyzed two problems. One was that the remote connection was not opened, and the other was suspected that the FTP port 21 was not opened. The remote connection will not be opened here, and we all know. Now let's take a look at port 21 not being enabled after the FTP tool is set up in windows.
Check whether the problem is 21. Run cmd ---- netstat-An to check what is enabled on the port and what is the problem. Open Port 21 now.
Specific operations:
Local connection --- properties ---- advanced ---- firewall settings ---- advanced ----- local connection ---- service --- Select FTP --- edit --- enter computer name ---- 21 (external port number) ---- 21 (internal port number) --- OK ---- OK -- disconnect --- connect again
Then, run netstat-An to check that 21 has been enabled.
The same applies to other ports.
I'm afraid I forget it later. I did it today and leave it to my notes.