CyberHunter
// Messaging & queues

Port 2873: PubSub Realtime Telemetry Protocol

Port 2873 is assigned by IANA to psrt (PubSub Realtime Telemetry Protocol).

2873

How psrt works

Messaging & queues
producerconsumerqueuepsrt producerconsumerqueuepsrt

Producers publish messages into a queue on port 2873; consumers pick them up in order, at their own pace.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 2873 dangerous?

We have no specific security note for port 2873. Its risk depends on the program actually listening on it. General advice for messaging & queues services:

  • Require authentication and TLS on brokers and coordination services.
  • Restrict clients by network and per-topic or per-queue permissions.
  • Remove default accounts.
02 Registry

IANA registry entries for port 2873

ServicePortTransportDescriptionReferenceUpdated
psrt 2873 TCP, UDP PubSub Realtime Telemetry Protocol - 2021-11-12

// source: IANA service name and port number registry

03 Check it

Which program uses port 2873, and is it reachable?

Linux

sudo ss -ltnup 'sport = :2873'      # process listening on 2873
sudo lsof -nP -i :2873

macOS

sudo lsof -nP -i :2873

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 2873 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 2873
netstat -ano | findstr :2873

From another machine

nmap -p 2873 -sV <host>
sudo nmap -sU -p 2873 <host>
nc -zv <host> 2873

Block it in the firewall

sudo ufw deny 2873/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 2873" -Direction Inbound -LocalPort 2873 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 2873 used for?

Port 2873 is assigned by IANA to psrt (PubSub Realtime Telemetry Protocol).

Is port 2873 TCP or UDP?

Port 2873 is registered for TCP and UDP.

Is it safe to open port 2873?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Require authentication and TLS on brokers and coordination services.

How do I check if port 2873 is open?

On Linux run "ss -ltnup 'sport = :2873'", on macOS "lsof -nP -i :2873", and on Windows "netstat -ano | findstr :2873" to see the local process. From another machine, "nmap -p 2873 <host>" shows whether it is reachable.

05 Related