CyberHunter
Local dataset, no network
// DevOps, cloud & containers

Port 5304: HA Cluster Commands

Port 5304 is assigned by IANA to hacl-local (HA Cluster Commands).

5304

How hacl-local works

DevOps, cloud & containers
adminhosthacl-local adminhosthacl-local

Commands sent to port 5304 create and control containers or cluster resources on the host.

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 5304 dangerous?

We have no specific security note for port 5304. Its risk depends on the program actually listening on it. General advice for devops, cloud & containers services:

  • Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.
  • Never expose them to the Internet.
  • Rotate tokens and certificates and audit who has access.
02 Registry

IANA registry entries for port 5304

ServicePortTransportDescriptionReferenceUpdated
hacl-local 5304 TCP, UDP HA Cluster Commands - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 5304, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5304

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 5304 is assigned by IANA to hacl-local (HA Cluster Commands).

Is port 5304 TCP or UDP?

Port 5304 is registered for TCP and UDP.

Is it safe to open port 5304?

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. Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.

How do I check if port 5304 is open?

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

05 Related

Latest vulnerability news

All news