title: How to connect to a locally installed neo4j server using Java
body: <p>I'm new to Neo4J and couldn't find the answer to my question despite my hours of googling.</p>
  
  <p>So far, I have been following the tutorials and now I have a basic understanding of how/when to use Neo4j.  Now, I am about to start modifying my hello-world code and connect to a Neo4J server locally installed on my machine, accessible via <a href="http://127.0.0.1:7474" rel="noreferrer">http://127.0.0.1:7474</a>.</p>
  
  <p>Original connection (using an embedded database):</p>
  
  <pre><code>GraphDatabaseService gdb = new EmbeddedGraphDatabase("c:\\helloworld\\data\\graph.db");
  </code></pre>
  
  <p>The question is is there anyway to modify this line to connect to my "server" database in c:\neo4j\data\graph.db instead?  The server is running currently as a windows service and I can view its database using the web admin tool.  At this time, I am not interested in using the REST API since the server and the client app are running on the same machine.</p>
  
  <p>I feel like I'm missing something obvious here...</p>