- 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.
Port 9418: git pack transfer service
Port 9418 is assigned by IANA to git (git pack transfer service).
How git works
DevOps, cloud & containersCommands sent to port 9418 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)
- Category
- DevOps, cloud & containers
Is port 9418 dangerous?
We have no specific security note for port 9418. Its risk depends on the program actually listening on it. General advice for devops, cloud & containers services:
IANA registry entries for port 9418
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| git | 9418 | TCP, UDP | git pack transfer service | - | 2005-09 |
// source: IANA service name and port number registry
Which program uses port 9418, and is it reachable?
Linux
sudo ss -ltnup 'sport = :9418' # process listening on 9418
sudo lsof -nP -i :9418macOS
sudo lsof -nP -i :9418
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 9418 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 9418 netstat -ano | findstr :9418
From another machine
nmap -p 9418 -sV <host> sudo nmap -sU -p 9418 <host> nc -zv <host> 9418
Block it in the firewall
sudo ufw deny 9418/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 9418" -Direction Inbound -LocalPort 9418 -Protocol TCP -Action Block # Windows
What is port 9418 used for?
Port 9418 is assigned by IANA to git (git pack transfer service).
Is port 9418 TCP or UDP?
Port 9418 is registered for TCP and UDP.
Is it safe to open port 9418?
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 9418 is open?
On Linux run "ss -ltnup 'sport = :9418'", on macOS "lsof -nP -i :9418", and on Windows "netstat -ano | findstr :9418" to see the local process. From another machine, "nmap -p 9418 <host>" shows whether it is reachable.