Port 7070 is used by Openfire XMPP server for HTTP binding (BOSH) and historically by RealNetworks RealServer for streaming. Openfire's HTTP binding on port 7070 allows XMPP clients to connect via HTTP long-polling when WebSocket or direct TCP (port 5222) is unavailable. Use port 7443 for the TLS-encrypted equivalent.
Port Number
7070
Protocol
TCP
Service
Openfire BOSH / RealServer
Range
IANA Registered (1024–49151)
Test if BOSH endpoint is accessible (should return 200 or connection refused if disabled)
curl -s http://host:7070/http-bind/ -o /dev/null -w '%{http_code}'Test for CVE-2023-32315 path traversal (should return 404/403 if patched)
curl -s 'http://host:7070/setup/setup-s/%u002e%u002e/log.jsp' -o /dev/null -w '%{http_code}'Discover all Openfire ports on a host
nmap -sV -p 7070,7443,9090,9091 targetCheck for unexpected/malicious plugins (post-exploitation indicator)
ls -la /opt/openfire/plugins/ | grep -v 'admin\|search'curl http://xmpp.example.com:7070/http-bind/
openfire: server.xml httpbind port
converse.js bosh_service_url: 'https://host:7443/http-bind/'Openfire (originally named Wildfire, then Jive Messenger) was created by Jive Software in 2001 and open-sourced under the Apache License. Port 7070 was chosen for HTTP binding (BOSH, XEP-0124) to allow web clients to connect when direct TCP on port 5222 was blocked. RealNetworks RealServer historically also used port 7070 for streaming media, but this usage is effectively extinct. CVE-2023-32315 in 2023 brought Openfire back into the spotlight as thousands of internet-facing instances were compromised.
How do I patch CVE-2023-32315?
Upgrade to Openfire 4.7.5 or 4.6.8 (LTS). If immediate upgrade is impossible: (1) Block access to the admin console (ports 9090/9091) from all external networks, (2) Check for compromise: look for unknown plugins in /opt/openfire/plugins/, unknown admin users, and scheduled tasks. (3) The vulnerability is in the admin console's setup path – even if you only expose port 7070, verify no reverse proxy routes admin paths.
Should I use BOSH (7070/7443) or WebSocket for web XMPP?
WebSocket is preferred for new deployments – lower latency, true bidirectional communication, and modern browser support is universal. BOSH exists for environments where WebSocket is blocked (some corporate proxies). Openfire supports both: WebSocket on ws://host:7070/ws/ or wss://host:7443/ws/, BOSH on http://host:7070/http-bind/. Disable whichever transport you don't use.