Port 8006 is the Proxmox VE web interface and API, used to manage virtual machines, containers and storage on the host. It should not be reachable from the public internet.
- Port
- 8006
- Protocol
- TCP
- Service
- Proxmox VE web interface
- Expose to internet?
- No
Is port 8006 safe to open?
The Proxmox interface controls every VM on the host and logging in as root@pam is root on the hypervisor. It is protected by a login, but it is a high-value target for password guessing and any future vulnerability. Keep it on a management network or VPN.
How to secure Proxmox VE web interface
- Reach 8006 only through a VPN or from management IP addresses (Datacenter > Firewall).
- Enable two-factor authentication for all users.
- Create named admin users instead of sharing root@pam.
- Install fail2ban with a Proxmox filter if the interface must be reachable.
Check if port 8006 is open
Linux: what is listening on this port
sudo ss -tlpn | grep ':8006 'Windows (PowerShell): what is listening
Get-NetTCPConnection -LocalPort 8006 -State Listen | Select-Object LocalAddress, OwningProcess, @{n='Process';e={(Get-Process -Id $_.OwningProcess).Name}}From another machine: is it reachable
nc -zv HOST 8006
# or
nmap -p 8006 HOST
# Windows
Test-NetConnection HOST -Port 8006Test the Proxmox VE web interface service itself
curl -skI https://HOST:8006/Restrict port 8006 in the firewall
Replace 10.0.0.0/8 with the network or address that needs access. Docker publishes container ports through its own iptables rules, which bypass ufw; bind published ports to 127.0.0.1 (-p 127.0.0.1:8006:8006) instead of relying on the host firewall.
ufw: allow only your private network, deny everyone else
sudo ufw allow from 10.0.0.0/8 to any port 8006 proto tcp
sudo ufw deny 8006/tcpfirewalld: allow one source network only
sudo firewall-cmd --permanent --remove-port=8006/tcp
sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="10.0.0.0/8" port port="8006" protocol="tcp" accept'
sudo firewall-cmd --reloadiptables
sudo iptables -A INPUT -p tcp --dport 8006 -s 10.0.0.0/8 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 8006 -j DROPWindows Firewall (PowerShell, as Administrator)
New-NetFirewallRule -DisplayName "Block 8006 from internet" -Direction Inbound -Protocol TCP -LocalPort 8006 -RemoteAddress Internet -Action BlockMonitor port 8006
Run a TCP port monitor against your public IP on port 8006: here, a failed connection is the healthy result, so you know the firewall is still doing its job. On Linux, the Statance agent also reports every listening port on the server. TCP port monitoring.
Related ports
| Port 22 | SSH | Medium risk |
| Port 10000 | Webmin | High risk |
| Port 5900 | VNC | High risk |
FAQ
What is port 8006 used for?
Port 8006 is the Proxmox VE web interface and API, used to manage virtual machines, containers and storage on the host.
Is it safe to open port 8006?
Not to the public internet. The Proxmox interface controls every VM on the host and logging in as root@pam is root on the hypervisor. It is protected by a login, but it is a high-value target for password guessing and any future vulnerability. Keep it on a management network or VPN.
Is port 8006 TCP or UDP?
Proxmox VE web interface uses TCP on port 8006.
How do I check if port 8006 is open?
On the server, run sudo ss -tulpn | grep ':8006 ' (Linux) or Get-NetTCPConnection -LocalPort 8006 (Windows) to see what is listening. From another machine, run nc -zv HOST 8006 or Test-NetConnection HOST -Port 8006.
Know the moment a port stops answering.
TCP, HTTP, DNS and SSL checks from six regions, plus server metrics from a one-line agent.