# HttpConnector within EmbeddedMode with Neo4j 4.0.0

**URL:** <https://community.neo4j.com/t/httpconnector-within-embeddedmode-with-neo4j-4-0-0/15252>\
**Category:** Neo4j 4.0\
**Created:** [March 2, 2020, 7:19pm UTC](https://community.neo4j.com/t/httpconnector-within-embeddedmode-with-neo4j-4-0-0/15252 "2020-03-02T19:19:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tietz](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/tietz/32/4351_2.png) [@tietz](https://community.neo4j.com/u/tietz)\
**Post date:** [March 2, 2020, 7:19pm UTC](https://community.neo4j.com/t/httpconnector-within-embeddedmode-with-neo4j-4-0-0/15252/1 "2020-03-02T19:19:47Z")

</div>

Hello,  
after upgrading my java-code, which starts an embedded neo4j-db (community) within a spring-boot-app, to 4.0 from 3.5 i tried several ways to activate httpConnector (default is FALSE) but all tries failed.

In my opinion it should be as simple as the following lines illustrate:

DatabaseManagementService managementService = new DatabaseManagementServiceBuilder(databaseDirectory)  
.setConfig(HttpConnector.enabled, true)  
.build();  
GraphDatabaseService graphDb = managementService.database(DEFAULT\_DATABASE\_NAME);

Since i can't find any example for 4.0 maybe i'm just to blind to see what's wrong or is it simply not possible anymore?  
Thanks  
Klaus

---

<div class="post-metadata">

**Author:** ![1277036759](https://avatars.discourse-cdn.com/v4/letter/1/3d9bf3/32.png) [@1277036759](https://community.neo4j.com/u/1277036759)\
**Post date:** [August 6, 2024, 3:33am UTC](https://community.neo4j.com/t/httpconnector-within-embeddedmode-with-neo4j-4-0-0/15252/2 "2024-08-06T03:33:40Z")

</div>

Here is a link to an article that provides a solution for starting Neo4j embedded in a Java application and making it accessible via the Neo4j Browser: [Enable Neo4J Browser GUI in Java with embedded Neo4J - Neo4j Graph Platform / Browser - Neo4j Online Community](https://community.neo4j.com/t/enable-neo4j-browser-gui-in-java-with-embedded-neo4j/66017/2)
