cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Start neo4j-4.1.2 server in IDEA, but browser can not access(404 error)

OS: Windows 10
Neo4j: 4.1.2

I start neo4j server in IDEA succesfully, but the browser( http://localhost:7474/) can not access, I checked the debug.log and it was normal. so what's wrong with the matter?

My maven dependency:

<dependencies>
        <dependency>
            <groupId>org.neo4j</groupId>
            <artifactId>neo4j</artifactId>
            <version>4.1.2</version>
        </dependency>
 </dependencies>

My code:

val NEO4J_HOME = "MY DB PATH"
val NEO4J_CONF = "MY CONF PATH"
CommunityEntryPoint.main(Array(s"--home-dir=${NEO4J_HOME}", s"--config-dir=${NEO4J_CONF}"))

My conf:

dbms.security.auth_enabled=false
dbms.default_listen_address=0.0.0.0
dbms.connector.bolt.enabled=true
dbms.connector.bolt.listen_address=:8887
dbms.connector.bolt.advertised_address=:8887
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:7474
dbms.connector.http.advertised_address=:7474
dbms.connector.https.enabled=false
1 REPLY 1

Can you access the bolt port?

What kind of error are you getting?

Did debug.log state where it was listening?

You probably also need the neo4j-browser.jar I don't think that's an automatic dependency.
But you can use e.g. browser.graphapp.io to connect to your local bolt port.