Port 904 sits in the well-known port range (0-1023), the space supposedly reserved for official protocol assignments by IANA. But if you look up port 904 in the official registry, you'll find nothing. No protocol. No service name. Just an empty slot.
And yet, port 904 gets used anyway.
What Lives Here (Unofficially)
VMware Server Management User Interface (MUI)
VMware claimed port 904 for its Server Management User Interface—a web-based console for managing virtual machines. When VMware Server was still a product (before it was discontinued in favor of ESXi and vSphere), administrators would connect to port 904 to access the management interface. It was never officially registered with IANA, but it worked. That was enough.1
Mac OS X NetInfo (Legacy)
Apple used port 904 for NetInfo, a hierarchical database system that managed user accounts, network filesystems, printers, and other administrative data on Mac OS X. NetInfo ran over RPC (Remote Procedure Call) and used ports in the 600-1023 range, including 904.2
NetInfo is long gone—Apple removed it completely in Mac OS X 10.5 Leopard, replacing it with Open Directory. But for years, port 904 carried administrative data for Mac systems.3
The Reality of Unassigned Ports
Here's the thing about unassigned ports: IANA doesn't enforce anything. The registry is a guideline, not a law. If you need a port and no one's officially using it, you can just... use it. That's what VMware did. That's what Apple did.
The risk is collision. If two different services both decide to use port 904, and you run both on the same machine, they'll conflict. One will fail to bind. But in practice, this rarely happens. VMware Server and Mac OS X NetInfo never showed up on the same system. The Internet is big enough that informal claims usually don't overlap.
How the Well-Known Range Works
Ports 0-1023 are supposed to be reserved for official assignments. Services running on these ports traditionally required root privileges on Unix-like systems—a security measure to prevent ordinary users from impersonating system services.
Port 904 is in that range. But without an official assignment, it's just another number. Anyone can use it. The well-known designation is a convention, not a barrier.
Checking What's Listening
If you want to see whether anything is using port 904 on your system:
On Linux or macOS:
On Windows:
If you see output, something's bound to that port. If not, it's available.
Why Unassigned Ports Matter
The unassigned ports aren't wasted space. They're flexibility. They're the gaps where new protocols can emerge without waiting for permission. They're what let VMware ship a management interface and Apple build NetInfo without filing paperwork first.
The official registry documents what's supposed to be there. The real network reveals what actually is.
Port 904 is what happens when the two don't match.
此页面对您有帮助吗?