Tomcat listens on 127.0.0.1:8005 for the SHUTDOWN command.
Tomcat listens on 127.0.0.1:8005 for the SHUTDOWN command.
Localhost or LAN only. It must stay on localhost (or be disabled with port=-1); anyone who can send the shutdown string can stop Tomcat.
Registry dates for this port: registered 2007-05.
sudo ss -tlnp 'sport = :8005'sudo lsof -nP -i :8005sudo netstat -tlnp | grep ':8005 'netstat -ano | findstr :8005Get-NetTCPConnection -LocalPort 8005 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 8005Test-NetConnection HOST -Port 8005sudo ufw deny 8005/tcpsudo iptables -A INPUT -p tcp --dport 8005 -j DROPsudo nft add rule inet filter input tcp dport 8005 dropNew-NetFirewallRule -DisplayName 'Block TCP 8005' -Direction Inbound -Protocol TCP -LocalPort 8005 -Action BlockAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.