- Answer only the networks that need the service (no open resolvers, relays or reflectors).
- UDP services can be abused for DDoS amplification: rate-limit or block them at the edge.
- Disable legacy test services that have no use in production.
Port 2009:
Port 2009 is assigned by IANA to news (), whosockami ().
How news works
Network servicesThe client sends a request to port 2009 and the news service answers.
- Transport
- TCP · UDP
- Exposure risk
- not rated depends on the program listening
- Encryption
- Unknownnot stated by the registry
- IANA status
- Assigned2 registered services
- Range
- Registered (1024-49151)
- Category
- Network services
Is port 2009 dangerous?
We have no specific security note for port 2009. Its risk depends on the program actually listening on it. General advice for network services services:
IANA registry entries for port 2009
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| news | 2009 | TCP | - | - | |
| whosockami | 2009 | UDP | - | - |
// source: IANA service name and port number registry
Which program uses port 2009, and is it reachable?
Linux
sudo ss -ltnup 'sport = :2009' # process listening on 2009
sudo lsof -nP -i :2009macOS
sudo lsof -nP -i :2009
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 2009 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 2009 netstat -ano | findstr :2009
From another machine
nmap -p 2009 -sV <host> sudo nmap -sU -p 2009 <host> nc -zv <host> 2009
Block it in the firewall
sudo ufw deny 2009/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 2009" -Direction Inbound -LocalPort 2009 -Protocol TCP -Action Block # Windows
What is port 2009 used for?
Port 2009 is assigned by IANA to news (), whosockami ().
Is port 2009 TCP or UDP?
Port 2009 is registered for TCP and UDP.
Is it safe to open port 2009?
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. Answer only the networks that need the service (no open resolvers, relays or reflectors).
How do I check if port 2009 is open?
On Linux run "ss -ltnup 'sport = :2009'", on macOS "lsof -nP -i :2009", and on Windows "netstat -ano | findstr :2009" to see the local process. From another machine, "nmap -p 2009 <host>" shows whether it is reachable.