Skip to content

Port 5900: VNC

Common Ports Reference: What runs on port 3389, 445 or 5985: common TCP and UDP ports for web, mail, Windows, AD, databases and VPNs, with security notes.

The ports that come up when opening a firewall, reading a scan or troubleshooting a connection: what runs on each, TCP or UDP, and what to watch out for. Search by number or name. Port numbers and service names were checked against IANA's port number registry; ports that are widely used but assigned by IANA to something else are marked unofficial.

Port number or name

5900 is a registered port (1024-49151): assigned by IANA on request. IANA's registry lists everything assigned to it: look up 5900 at IANA.

1 of 96 ports

PortProtocolServiceWhat it's forIANA name
5900
TCP
VNC
Remote screen sharing (RFB protocol); further displays use 5901, 5902 and up.
rfb
Careful: Never open this to the internet; reach it over a VPN or from trusted networks only. Many VNC servers have weak or no passwords.

All common ports →