Port 40002 services

2 entries are registered on port 4000. It is a registered port (1024–49151) — IANA records an assignee, but nothing stops other software from listening here, which is why the number carries more than one entry.

entries
2

services registered on this number

transport
tcp · udp

2 transports in use

in transit
0/2

entries encrypted on the wire

worst risk
4/10

1 of 2 iana-registered

Services on this port

ranked by lookups
portservicerisk
:4000Diablo IIcaution
:4000Terabasesafe

01Diablo IItcp · udp · unofficial · risk 4/10

TCP/UDP port 4000 is primarily known for facilitating the multiplayer connections of the classic Blizzard game Diablo II. The port allows players to connect to Battle.net servers or direct peer-to-peer sessions, enabling matchmaking, in-game communication, and other gameplay features.

port 4000 as Diablo II →

02Terabasetcp · udp · iana-registered · risk 1/10

TCP/UDP 4000 is assigned to Terabase and has a documented historical conflict with ICQ messaging.

port 4000 as Terabase →

Which one is on your host

ask the machine, not the registry

The registry says what 4000 is registered to. What is listening on it right now is decided by the host, and only the host can be asked. Each of these prints the process behind the socket.

linux
ss -ltnp | grep ':4000\b'
macos
lsof -nP -iTCP:4000 -sTCP:LISTEN
windows
netstat -ano | findstr :4000

On Linux and Windows the process name comes back with the socket; on macOS lsof needs sudo to name a process that isn't yours. Match what it prints against the 2 entries above.

A port number is not a service. Anything may listen on 4000 — what you actually met is decided by the host, not the registry. If a service is missing here, it belongs in the registry.

contribute an entry