- Use strong credentials and TLS for signalling.
- Rate-limit registrations to stop extension scanning and toll fraud.
- Alert on unexpected chat protocols leaving servers (possible command and control).
Port 5298: XMPP Link-Local Messaging
Port 5298 is assigned by IANA to presence (XMPP Link-Local Messaging).
How presence works
Voice & chatPort 5298 sets up the call (who calls whom), then the voice travels as a stream of audio packets.
- 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
- Voice & chat
Is port 5298 dangerous?
We have no specific security note for port 5298. Its risk depends on the program actually listening on it. General advice for voice & chat services:
IANA registry entries for port 5298
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| presence | 5298 | TCP, UDP | XMPP Link-Local Messaging | - | 2008-01-14 |
// source: IANA service name and port number registry
Which program uses port 5298, and is it reachable?
Linux
sudo ss -ltnup 'sport = :5298' # process listening on 5298
sudo lsof -nP -i :5298macOS
sudo lsof -nP -i :5298
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 5298 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 5298 netstat -ano | findstr :5298
From another machine
nmap -p 5298 -sV <host> sudo nmap -sU -p 5298 <host> nc -zv <host> 5298
Block it in the firewall
sudo ufw deny 5298/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 5298" -Direction Inbound -LocalPort 5298 -Protocol TCP -Action Block # Windows
What is port 5298 used for?
Port 5298 is assigned by IANA to presence (XMPP Link-Local Messaging).
Is port 5298 TCP or UDP?
Port 5298 is registered for TCP and UDP.
Is it safe to open port 5298?
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. Use strong credentials and TLS for signalling.
How do I check if port 5298 is open?
On Linux run "ss -ltnup 'sport = :5298'", on macOS "lsof -nP -i :5298", and on Windows "netstat -ano | findstr :5298" to see the local process. From another machine, "nmap -p 5298 <host>" shows whether it is reachable.