CyberHunter
// DevOps, cloud & containers

Port 5301: HA cluster general services

Port 5301 is assigned by IANA to hacl-gs (HA cluster general services).

5301

How hacl-gs works

DevOps, cloud & containers
adminhosthacl-gs adminhosthacl-gs

Commands sent to port 5301 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 5301 dangerous?

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

ServicePortTransportDescriptionReferenceUpdated
hacl-gs 5301 TCP, UDP HA cluster general services - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 5301, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5301

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 5301 is assigned by IANA to hacl-gs (HA cluster general services).

Is port 5301 TCP or UDP?

Port 5301 is registered for TCP and UDP.

Is it safe to open port 5301?

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

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

05 Related