Home Net Guide

Home / Port numbers / Port 6000

Port 6000: X11

The Unix and Linux graphical display system. Port 6000 uses TCP.

Port
6000
Commonly used for
X11
Transport
TCP
Encrypted
No
Range
User (registered) port, 1024 to 49151
Our advice
Keep it closed to the internet
IANA registration
x11 X Window System (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 6000 is used for

Port 6000 is the X Window System, the traditional graphics layer on Unix and Linux. Its design lets a program on one machine draw its windows on another machine's screen over the network. Each extra display uses the next port up.

Should port 6000 be open?

A display that accepts connections from the network lets the remote side watch the screen and record every keystroke. Modern systems no longer listen on TCP by default. To run a graphical program remotely, use SSH's X forwarding, which carries it inside the encrypted session.

Related ports

  • Port 22 (SSH): secure remote login and file transfer (SFTP)
  • Port 5900 (VNC): remote screen sharing

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 5986 (WinRM (HTTPS)) · Next: Port 6379 (Redis)