Port 6004
x11 · TCP/UDP
| Plage | Port enregistré (1024–49151) |
|---|---|
| Protocole | TCP/UDP |
| Service | x11 |
Questions fréquentes
À quoi sert le port 6004 ?
Le port 6004 est enregistré auprès de l’IANA pour x11 (TCP/UDP). Description : X Window System.
Le port 6004 est-il un port bien connu ?
Non. Le port 6004 se situe dans la plage 1024–49151 (ports enregistrés ou utilisateur). Les programmes ordinaires peuvent l’ouvrir sans droits root.
Comment vérifier si le port 6004 est ouvert ?
En local sous Linux avec ss -tulpn | grep ':6004\b', sous Windows avec netstat -ano | findstr :6004. Pour tester une machine distante, utilisez Test-NetConnection <host> -Port 6004 dans PowerShell ou nc -zv <host> 6004 sous Linux/macOS.
Comment ouvrir le port 6004 dans le pare-feu ?
Ubuntu/Debian (ufw) : sudo ufw allow 6004/tcp. Fedora/RHEL (firewalld) : sudo firewall-cmd --add-port=6004/tcp --permanent, puis firewall-cmd --reload. Windows (PowerShell en administrateur) : New-NetFirewallRule -DisplayName "Port 6004" -Direction Inbound -Protocol TCP -LocalPort 6004 -Action Allow.
Entrées du registre de l’IANA
| Protocole | Service | Description (IANA) |
|---|---|---|
| TCP | x11 | X Window System |
| UDP | x11 | X Window System |