Skip to main content
PORT 7687 / TCPDatabase & CacheExposure Risk: High

Port 7687: Neo4j Bolt Protocol — Neo4j Binary Bolt Driver Connection Port

High-performance binary Bolt protocol port used by backend drivers connecting to Neo4j.

Default Service
Neo4j Bolt Protocol
Process: java (neo4j)
Transport Protocol
TCP
IANA Registered Port 7687
Docker Port Flag
-p 7687:7687
Container to Host Mapping

How to Check & Kill Process on Port 7687 (EADDRINUSE Fix)

macOS & Linux (lsof / kill)
# Find process using port 7687
sudo lsof -i :7687

# Instantly kill process on port 7687
lsof -ti:7687 | xargs kill -9
Windows (PowerShell & CMD)
# Find PID listening on port 7687
netstat -ano | findstr :7687

# Force kill by PID
taskkill /PID <PID_NUMBER> /F
Cross-Platform Node.js One-Liner
# Kill port 7687 via npx
npx kill-port 7687

# Or diagnose via Castov CLI
npx castov fix "EADDRINUSE :::7687"
Linux Firewall (UFW) & Connectivity Test
# Test if port 7687 is reachable
nc -zv localhost 7687

# Allow or deny port 7687 in UFW
sudo ufw allow 7687/tcp
CLOUD & INFRASTRUCTURE PARTNER2 Slots Open

Deploying High-Availability Cloud Servers, VPCs, or Managed Databases?

Reach backend engineers and SREs actively debugging ports, CIDR subnets, and production infrastructure.

Frequently Asked Questions about Port 7687

What is Port 7687 used for?

Port 7687 is the standard network port for Neo4j Bolt Protocol (Neo4j Binary Bolt Driver Connection Port) operating over TCP. The typical system daemon or process is java (neo4j).

How do I kill a process running on Port 7687 (EADDRINUSE)?

On macOS and Linux, run: lsof -ti:7687 | xargs kill -9 (or npx kill-port 7687). On Windows PowerShell/CMD, run: netstat -ano | findstr :7687 and then taskkill /PID <PID> /F.

Is it safe to expose Port 7687 to the internet?

Port 7687 has a High security risk profile. High-performance binary Bolt protocol port used by backend drivers connecting to Neo4j.

Other Common Network Ports