Port 6031
x11 · TCP/UDP
| Range | Registered port (1024–49151) |
|---|---|
| Protocol | TCP/UDP |
| Service | x11 |
Frequently asked questions
What is port 6031 used for?
Port 6031 is registered with the IANA for x11 (TCP/UDP). Description: X Window System.
Is port 6031 a well-known port?
No. Port 6031 is in the range 1024–49151 (registered or user ports). Ordinary programs may open it without root privileges.
How do I check whether port 6031 is open?
Locally on Linux with ss -tulpn | grep ':6031\b', on Windows with netstat -ano | findstr :6031. To test a remote host use Test-NetConnection <host> -Port 6031 in PowerShell or nc -zv <host> 6031 on Linux/macOS.
How do I open port 6031 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 6031/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=6031/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 6031" -Direction Inbound -Protocol TCP -LocalPort 6031 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | x11 | X Window System |
| UDP | x11 | X Window System |