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