Home Net Guide

Home / Port numbers / Port 5984

Port 5984: CouchDB

The Apache CouchDB database API. Port 5984 uses TCP.

Port
5984
Commonly used for
CouchDB
Transport
TCP
Encrypted
No (6984 is the TLS port)
Range
User (registered) port, 1024 to 49151
Our advice
Keep it closed to the internet
IANA registration
couchdb CouchDB (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 5984 is used for

Port 5984 is the HTTP API of Apache CouchDB, a document database known for synchronising between servers and devices. Its built-in administration page, Fauxton, is served on the same port.

Should port 5984 be open?

Older versions started in a mode where everyone was an administrator until one was created, and a 2017 flaw allowed outsiders to make themselves administrator. Exposed instances were taken over for cryptocurrency mining. Keep it private, or put it behind an authenticating HTTPS proxy.

Related ports

  • Port 27017 (MongoDB): connections to MongoDB databases
  • Port 9200 (Elasticsearch): the Elasticsearch search and analytics API

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 5938 (TeamViewer) · Next: Port 5985 (WinRM (HTTP))