CyberHunter
// Messaging & queues

Port 5670: ZeroMQ file publish-subscribe protocol

Port 5670 is assigned by IANA to filemq (ZeroMQ file publish-subscribe protocol), zre-disc (Local area discovery and messaging over ZeroMQ).

5670

How filemq works

Messaging & queues
producerconsumerqueuefilemq producerconsumerqueuefilemq

Producers publish messages into a queue on port 5670; 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
Assigned2 registered services
Range
Registered (1024-49151)
01 Security

Is port 5670 dangerous?

We have no specific security note for port 5670. 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 5670

ServicePortTransportDescriptionReferenceUpdated
filemq 5670 TCP ZeroMQ file publish-subscribe protocol - 2013-02-25
zre-disc 5670 UDP Local area discovery and messaging over ZeroMQ - 2012-12-17

// source: IANA service name and port number registry

03 Check it

Which program uses port 5670, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5670

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 5670 is assigned by IANA to filemq (ZeroMQ file publish-subscribe protocol), zre-disc (Local area discovery and messaging over ZeroMQ).

Is port 5670 TCP or UDP?

Port 5670 is registered for TCP and UDP.

Is it safe to open port 5670?

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 5670 is open?

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

05 Related