keecode logokeecode
5222

XMPP

Jabber/XMPP client

TCP
Messaging

Port Information

Port Number

5222

Protocol

TCP

Category

Messaging

Common Usage

URL with Port

http://localhost:5222
https://example.com:5222

Node.js/Express Server

const express = require('express');
const app = express();
const PORT = 5222;

app.listen(PORT, () => {
  console.log(`Server running on port ${PORT}`);
});

Docker Port Mapping

docker run -p 5222:5222 myapp

# In docker-compose.yml
ports:
  - "5222:5222"

Firewall Configuration

# Linux/Ubuntu firewall
sudo ufw allow 5222/tcp

# Check if port is in use
netstat -an | grep 5222