Port 1521 — Oracle Database
TCP registered
What runs on port 1521
Oracle listener port.
Security considerations
Same rule — databases belong on a private network.
Checking whether something is listening
# Linux / macOS — what is bound to the port
sudo lsof -i :1521
sudo ss -lntp | grep :1521
# Windows
netstat -ano | findstr :1521
Get-NetTCPConnection -LocalPort 1521
# is it reachable from outside?
nc -zv example.com 1521
curl -v telnet://example.com:1521
Freeing the port
# find the process, then stop it
sudo lsof -ti :1521 | xargs kill # Linux / macOS
netstat -ano | findstr :1521 # note the PID, then:
taskkill /PID <pid> /F # Windows