Port 20 — FTP data
TCP well-known
What runs on port 20
The data channel of the classic File Transfer Protocol. The control channel is port 21.
Security considerations
Unencrypted. Use SFTP (port 22) or FTPS instead — plain FTP sends credentials in clear text.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :20
sudo ss -lntp | grep :20
# Windows
netstat -ano | findstr :20
Get-NetTCPConnection -LocalPort 20
# is it reachable from outside?
nc -zv example.com 20
curl -v telnet://example.com:20
Freeing the port
# find the process, then stop it
sudo lsof -ti :20 | xargs kill # Linux / macOS
netstat -ano | findstr :20 # note the PID, then:
taskkill /PID <pid> /F # Windows