Port 902: VMware ESXi

Port 902 (TCP/UDP) is used by VMware ESXi. Used by VMware hosts for console and management traffic (unofficial use of the number).

902Port
TCP/UDPProtocol
ideafarm-doorIANA service name
Remote accessCategory

Port range

902 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Only open port 902 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 902 in a firewall

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

Check if port 902 is open

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

Other remote access ports

Frequently asked questions

What is port 902 used for?
VMware ESXi. Used by VMware hosts for console and management traffic (unofficial use of the number).
Is port 902 TCP or UDP?
Both are assigned. Check which one your software actually listens on.