Port 4142

oidocsvc · TCP/UDP

RangeRegistered port (1024–49151)
ProtocolTCP/UDP
Serviceoidocsvc

Frequently asked questions

What is port 4142 used for?

Port 4142 is registered with the IANA for oidocsvc (TCP/UDP). Description: Document Server.

Is port 4142 a well-known port?

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

How do I check whether port 4142 is open?

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

How do I open port 4142 in the firewall?

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

IANA registry entries

ProtocolServiceDescription (IANA)
TCPoidocsvcDocument Server
UDPoidocsvcDocument Server

Nearby entries