1. Ports
  2. Port 2312

Port 2312 has no official service assigned to it. The Internet Assigned Numbers Authority (IANA) maintains the registry of port assignments, and for port 2312, the entry is blank.1

That doesn't mean nothing ever uses it. It means nothing officially uses it.

What Range This Port Belongs To

Port 2312 falls in the registered ports range, which runs from 1024 to 49151.

The three ranges work like this:

  • Well-known ports (0-1023): Reserved for the protocols that built the Internet — HTTP, HTTPS, SSH, DNS, SMTP. These require elevated privileges to bind on most operating systems.
  • Registered ports (1024-49151): Available for applications to register with IANA. Software vendors, protocol designers, and projects can apply to claim a port number here. Some are famous (3306 for MySQL, 5432 for PostgreSQL). Many are obscure. A significant number, like 2312, are simply unassigned.
  • Dynamic/ephemeral ports (49152-65535): The ports your OS hands out temporarily when your browser opens a connection. Not for servers — for the source side of outbound connections.

Being in the registered range means port 2312 could be claimed. Someone could submit an application to IANA and, if approved, have port 2312 officially associated with their service. Until then, it waits.

Any Known Unofficial Uses

No commonly observed unofficial use has been documented for port 2312. It doesn't appear in trojan databases, game server lists, or developer community discussions in any consistent way.

This is genuinely rare information worth having: if you see traffic on port 2312, it isn't a known protocol doing its job. It's something specific to your environment — an internal application, a developer's custom service, or something worth investigating.

How to Check What's Listening on This Port

On Linux or macOS:

ss -tlnp | grep 2312

Or with the older tool:

netstat -tlnp | grep 2312

To see both TCP and UDP:

ss -ulnp | grep 2312

On Windows:

netstat -ano | findstr :2312

This returns the PID of the process. To find out what process that is:

tasklist | findstr <PID>

Or open Task Manager, go to the Details tab, and match the PID column.

Cross-platform (with lsof on macOS/Linux):

lsof -i :2312

This shows the process name, PID, user, and whether the port is listening or in an established connection.

Why Unassigned Ports Matter

The port space isn't infinite, but it's large — 65,535 ports across TCP and UDP. The registered range alone has 48,128 slots. Most of them are in exactly this state: claimed by the category, assigned to no one in particular.

This matters for a few reasons:

For network administrators: An unassigned port showing unexpected traffic is a real signal. There's no "oh, that's just MySQL" explanation. You have to find out what it actually is.

For developers: Unassigned ports are fair game for internal tools, development servers, and custom protocols — as long as you don't assume no one else will use the same number. Two applications picking the same unofficial port is a classic source of "it worked on my machine" conflicts.

For the port system overall: Unassigned ports are the slack in the system. The Internet's protocols didn't spring fully formed from a single design session — they evolved, and they needed room to evolve into. The gaps between assigned ports are where new things get born.

Port 2312 isn't broken. It's available.

Cette page vous a-t-elle été utile ?

😔
🤨
😃
Port 2312: Unassigned — Reserved but Unclaimed • Connected