1. Ports
  2. Port 124

What Port 124 Does

Port 124 is assigned to the ANSA REX Trader, a service discovery and interface trading protocol that ran on both TCP and UDP.1 The Trader was a component of ANSAware, the software platform built by the ANSA (Advanced Networked Systems Architecture) project, one of the most influential distributed computing research efforts of the late twentieth century.

The Trader solved a problem that sounds simple but was revolutionary in the 1980s: how does a program on one machine find a service running on another machine, when the program only knows what it needs, not where it lives?

How the Trader Worked

The ANSA Trader operated as a matchmaker between services and their consumers.2

A service provider would export its interface to the Trader, describing what it could do. The Trader stored this registration and returned an identifier. When a client needed that capability, it would import the interface from the Trader, receiving the same identifier, which it could then use to establish a direct connection via remote procedure call.3

The Trader maintained a database of MSNL (Multi-Service Network Layer) addresses and names, mapping service aliases to network addresses across machines with multiple network interfaces.4 When resolving a name, it would search its registry first, fall back to local supplementary tables, and then perform additional lookups to identify alternative addresses.

The provider could withdraw or change its interface at any time. When it did, the client's cached identifier would become stale, and the client would need to query the Trader again. This design acknowledged a truth about distributed systems that many later architectures forgot: services are ephemeral, and the network must handle that gracefully.

The History

The ANSA project began in 1985 under the UK's Alvey Programme, a government-funded initiative to advance British information technology research. Based in Cambridge, England, the project ran until 1999, producing fourteen years of foundational distributed computing research.5

ANSA stood for Advanced Networked Systems Architecture. The project's goal was to define how applications could operate across heterogeneous networks and platforms, long before the web made this problem feel obvious.6 The team introduced concepts that are now pillars of distributed systems: distributed object management, interface trading (service discovery), location transparency, and access transparency.

The registration of port 124 for the ANSA REX Trader is attributed to Nicola J. Howarth.1 Port 116, assigned to ANSA REX Notify (ansanotify), served as the companion notification service.7

REX in this context refers to Remote EXecution, the protocol layer that enabled remote procedure calls between distributed objects in the ANSA architecture.3

The practical implementation, ANSAware, shipped across an impressive range of platforms for its era: Unix, SunOS, HP-UX, VMS, MVS, MS-DOS, OSF/1, Windows 3.1, and Windows NT.8 The largest working system built on ANSAware was NASA's Astrophysics Data System, which went into operation in 1991 and was described as "probably the largest open distributed processing system in the world" at the time.8

Why This Matters

The ANSA Trader was service discovery before the term existed. Today, when a Kubernetes pod queries a service mesh to find an available instance, when Consul or etcd maps service names to endpoints, when DNS-SD lets your laptop find a printer, they are all descendants of the same idea that flowed through port 124 in Cambridge computer labs in the late 1980s.

ANSA's work fed directly into two major standards: CORBA (Common Object Request Broker Architecture) and the ISO/ITU Open Distributed Processing (ODP) reference model.6 The Trader concept became a formal part of ODP standards. If you've ever worked with a naming service, a service registry, or an interface broker, you've used a concept that ANSA helped define.

Security Considerations

Port 124 carries minimal security risk in modern networks. The ANSA REX Trader protocol is not in active use on the contemporary Internet, and you are unlikely to encounter legitimate traffic on this port. Some sources note that SecurID (RSA's authentication token protocol) has been observed using port 124/UDP as an unofficial alternative port.9

If you find port 124 open on a system, it warrants investigation. On modern systems, no standard service should be listening there. Check what process owns it:

# Linux
sudo ss -tlnp | grep :124
sudo lsof -i :124

# macOS
sudo lsof -i :124

# Windows
netstat -aon | findstr :124

Any process listening on port 124 today is either a custom application, a legacy system, or something that deserves a closer look.

The ANSA Port Family

Port 124 didn't work alone. The ANSA architecture reserved a small neighborhood in the well-known port range:

PortService NameDescription
116ansanotifyANSA REX Notify
124ansatraderANSA REX Trader

These two ports formed a pair: the Trader handled service discovery and binding, while Notify handled event propagation, alerting interested parties when services changed state.7

Frequently Asked Questions

Was this page helpful?

๐Ÿ˜”
๐Ÿคจ
๐Ÿ˜ƒ
Port 124: ANSA REX Trader โ€” The First Service Discovery โ€ข Connected