Home / Localhost / localhost:5984

localhost:5984 (CouchDB): connection refused and fixes

Port 5984 is the default port of Apache CouchDB. How to open Fauxton and fix errors.

Open this address: http://localhost:5984This opens on your own computer. It only works if the program is running.

localhost:5984 is Apache CouchDB. The root shows a small JSON welcome message. The browser admin page, called Fauxton, is at localhost:5984/_utils.

localhost:5984 in a browser address bar reaches port 5984 on your computer, where CouchDB is running

What runs on localhost:5984

Commands to start and test port 5984

Test the server
curl http://localhost:5984/
CouchDB in Docker
docker run -d -p 5984:5984 -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=change-me couchdb
List databases
curl -u admin:change-me http://localhost:5984/_all_dbs

Find what is using port 5984

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:5984 will not open

First-time setup
CouchDB’s docs open the setup page at http://127.0.0.1:5984/_utils#setup. Choose Single-Node-Setup, create an admin user, and record it. The wizard creates the system databases _users, _replicator and _global_changes. If you skip it, create them yourself. You can also set [couchdb] single_node=true in local.ini and restart.
Private or reachable from the network
Binding CouchDB to 127.0.0.1 keeps it private. Binding to 0.0.0.0 makes it reachable on every address, including your LAN, so set an admin password first.
The page shows only a small JSON message
That is normal. CouchDB answers with its version at the root. The admin page is at /_utils.
Unauthorized
Use the admin username and password you set. Recent CouchDB versions require an admin account.
Port 5984 is already in use
Another program is on this port. Find it with the tool below and stop it, or start yours on another port.
This site can’t be reached (ERR_CONNECTION_REFUSED)
The program is not running. Start it and keep that terminal open. See the full checklist.
Works on your computer, not on your phone
Start the server on all network addresses and use your computer’s IP address. See how to open localhost from your phone.

Other ports like 5984

PortUsually used by
localhost:3306MySQL, MariaDB
localhost:5432PostgreSQL
localhost:27017MongoDB
localhost:6379Redis
localhost:11211Memcached
localhost:1433Microsoft SQL Server
localhost:8983Apache Solr

Questions about localhost:5984

What is Fauxton?
The web admin page of CouchDB, found at /_utils.
Is localhost:5984 safe?
Yes, as long as it stays on localhost. Only your own computer can reach it. It becomes reachable from other devices only if you start the program on 0.0.0.0 or your computer's IP address. Do not put development or admin tools on the public internet.

Updated 2026-10-20

Free tools that help

Related pages