CyberHunter
Local dataset, no network
// Databases & caches

Port 7474: Neo4j Graph Database

Port 7474 is assigned by IANA to neo4j (Neo4j Graph Database).

7474

How neo4j works

Databases & caches
app:7474neo4j app:7474neo4j

The application sends a SQL query to the neo4j server on port 7474, which returns rows from its tables.

Transport
TCP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 7474 dangerous?

We have no specific security note for port 7474. Its risk depends on the program actually listening on it. General advice for databases & caches services:

  • Bind the service to localhost or a private network, never to a public address.
  • Enable authentication, use per-application accounts and require TLS.
  • Watch for exposed Docker ports: publish them on 127.0.0.1 only.
02 Registry

IANA registry entries for port 7474

ServicePortTransportDescriptionReferenceUpdated
neo4j 7474 TCP Neo4j Graph Database - 2013-02-08
-7474-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 7474, and is it reachable?

Linux

sudo ss -ltnup 'sport = :7474'      # process listening on 7474
sudo lsof -nP -i :7474

macOS

sudo lsof -nP -i :7474

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 7474 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 7474
netstat -ano | findstr :7474

From another machine

nmap -p 7474 -sV <host>
nc -zv <host> 7474

Block it in the firewall

sudo ufw deny 7474/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 7474" -Direction Inbound -LocalPort 7474 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 7474 used for?

Port 7474 is assigned by IANA to neo4j (Neo4j Graph Database).

Is port 7474 TCP or UDP?

Port 7474 is registered for TCP.

Is it safe to open port 7474?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Bind the service to localhost or a private network, never to a public address.

How do I check if port 7474 is open?

On Linux run "ss -ltnup 'sport = :7474'", on macOS "lsof -nP -i :7474", and on Windows "netstat -ano | findstr :7474" to see the local process. From another machine, "nmap -p 7474 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news