Port 5900

rfb · TCP/UDP

RangeRegistered port (1024–49151)
ProtocolTCP/UDP
Servicerfb
ReferenceRFC 6143
Registered2006-03

Frequently asked questions

What is port 5900 used for?

Port 5900 is registered with the IANA for rfb (TCP/UDP). Description: Remote Framebuffer.

Is port 5900 a well-known port?

No. Port 5900 is in the range 1024–49151 (registered or user ports). Ordinary programs may open it without root privileges.

How do I check whether port 5900 is open?

Locally on Linux with ss -tulpn | grep ':5900\b', on Windows with netstat -ano | findstr :5900. To test a remote host use Test-NetConnection <host> -Port 5900 in PowerShell or nc -zv <host> 5900 on Linux/macOS.

How do I open port 5900 in the firewall?

Ubuntu/Debian (ufw): sudo ufw allow 5900/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=5900/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 5900" -Direction Inbound -Protocol TCP -LocalPort 5900 -Action Allow.

IANA registry entries

ProtocolServiceDescription (IANA)
TCPrfbRemote Framebuffer
UDPrfbRemote Framebuffer

Nearby entries