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