1. Ports
  2. Port 58

Port 58 is assigned to XNS Mail, the email component of Xerox Network Systems. If you've never heard of it, that's the point of this story. XNS Mail was part of a protocol suite so influential that its design echoes through nearly every networking technology in use today, yet the protocol itself is completely extinct.

What Ran on Port 58

XNS Mail handled email delivery between machines running the Xerox Network Systems protocol suite.1 It operated over both TCP and UDP on port 58, registered with IANA under the service name xns-mail.

But here's the important caveat: XNS Mail was designed to run on SPP (Sequenced Packet Protocol), Xerox's own transport layer, not on TCP/IP.2 The IANA assignment on port 58 is a mapping artifact, a way of translating XNS services into the TCP/IP world. The protocol was never really at home in that world.

XNS Mail worked alongside the Clearinghouse Protocol, Xerox's directory service that handled name resolution and user authentication. Think of it as a tightly integrated system: the Clearinghouse knew who you were, and XNS Mail knew how to get your message to the right machine. It was a cohesive vision of networked office communication, built in Xerox's own image.3

The Story Behind the Protocol

Born at PARC

Xerox Network Systems grew out of the legendary Xerox PARC (Palo Alto Research Center), where researchers in the mid-1970s were building the future of computing. The predecessor protocol suite, PUP (PARC Universal Packet), was designed by David Boggs, John Shoch, Edward Taft, and Robert Metcalfe. Its fundamental design was complete by 1974, running on a 3-megabit-per-second Ethernet prototype.4

In 1977, Yogen Dalal joined Xerox's Systems Development Division to reengineer PUP into something commercially viable. By late 1977, the first draft of XNS specifications was published internally, introducing 48-bit host identifiers, 32-bit network numbers, and 16-bit sockets.5 This was the architecture that would support thousands of networked devices in corporate environments.

The Protocol Suite That Changed Everything

XNS introduced a critical innovation: the separation of network routing from end-to-end transport.6 This idea, treating "how do I get a packet across multiple networks" as a fundamentally different problem from "how do I reliably deliver data between two endpoints," rippled through every networking protocol that followed.

The first commercial product built on XNS was the Xerox 8000 Network System, announced in November 1980, one month before the public unveiling of TCP/IP.7

And then XNS lost.

The Paradox of Influence

XNS was placed in the public domain in 1977.8 This generosity made it the canonical local area networking protocol, copied by practically every networking system through the 1990s:

  • Novell NetWare's IPX/SPX was built directly on XNS's IDP and SPP protocols9
  • The Routing Information Protocol (RIP), one of TCP/IP's earliest routing protocols, was inspired by XNS routing10
  • AppleTalk borrowed XNS-like routing with incompatible addresses11
  • 3Com's 3+Share and Ungermann-Bass's Net/One used XNS unchanged12

Even Vint Cerf and Bob Kahn, the architects of TCP/IP, drew inspiration from Xerox's earlier PUP protocols during ARPANET design meetings.13

XNS Mail, sitting on port 58, was the email component of this suite. It was designed for a world where Xerox workstations talked to other Xerox workstations on Xerox networks. That world existed, briefly. Xerox had 45,000+ workstations using XNS services.14 Then TCP/IP and SMTP swept through and rendered the entire suite obsolete.

How It Worked

XNS operated on a layered architecture similar to (and predating the widespread adoption of) the OSI model:

  • Level 0: Transmission media (Ethernet, point-to-point links)
  • Level 1: IDP (Internet Datagram Protocol) for packet delivery
  • Level 2: SPP (Sequenced Packet Protocol) for reliable streams, PEX for request-response
  • Level 3: Courier Protocol for data structuring, then application protocols like Filing, Clearinghouse, Printing, and Mail
  • Level 4: Application layer15

XNS Mail sat at Level 3, running on top of Courier, which provided conventions for data structuring and process interaction. To send a message, the system would query the Clearinghouse to locate the recipient, authenticate through the Authentication Service, and then route the mail through XNS's own transport layer.

It was elegant. It was integrated. It was completely proprietary.

Security Considerations

Port 58 is not commonly associated with known malware or active exploitation. The protocol it carries is extinct, and no modern software listens on this port by default.

However, any well-known port number showing unexpected traffic should be investigated. Because port 58 is in the well-known range (0-1023) but carries no active modern service, traffic on it could indicate misconfiguration, scanning activity, or something deliberately hiding in an unusual port.

To check if anything is listening on port 58:

# macOS/Linux
sudo lsof -i :58
netstat -an | grep ':58 '

# Windows
netstat -an | findstr :58

If you find something listening there, it's worth investigating. No legitimate modern software should be using it.

Why This Port Matters

Port 58 is a memorial. It marks the place where Xerox's vision of networked email once lived, a vision that was technically sound, architecturally influential, and commercially doomed.

The XNS suite taught the networking industry how to separate routing from transport, how to build layered protocol architectures, and how to make local area networks actually work. Then TCP/IP absorbed those lessons and became the universal standard. SMTP took over email. The Clearinghouse gave way to DNS. SPP yielded to TCP.

XNS Mail on port 58 is what happens when you build something brilliant inside a walled garden. The ideas escape. The implementation doesn't.

Frequently Asked Questions

Was this page helpful?

😔
🤨
😃