Port 8081: HTTP alternate 2

Port 8081 (TCP) is used by HTTP alternate 2. Second alternative web port for admin panels and package registries.

8081Port
TCPProtocol
sunproxyadminIANA service name
WebCategory

Port range

8081 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Web ports are meant to be public, but keep the server patched, serve HTTPS, and do not expose admin panels on the same port without authentication.

Open port 8081 in a firewall

ufw         sudo ufw allow 8081/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 8081 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=8081/tcp
Windows     New-NetFirewallRule -DisplayName "HTTP alternate 2 8081" -Direction Inbound -Protocol TCP -LocalPort 8081 -Action Allow

Check if port 8081 is open

nc -vz example.com 8081
Test-NetConnection example.com -Port 8081   # PowerShell
sudo ss -tulpn | grep ':8081 '   # what is listening locally (Linux)

Other web ports

Frequently asked questions

What is port 8081 used for?
HTTP alternate 2. Second alternative web port for admin panels and package registries.
Is port 8081 TCP or UDP?
TCP.