Results 1 to 2 of 2

Thread: [neo4j] How to get WrappingNeoServerBootstrapper to listen on 0.0.0.0

Threaded View

  1. #1
    Join Date
    Feb 2012
    Posts
    20

    Question [neo4j] How to get WrappingNeoServerBootstrapper to listen on 0.0.0.0

    I posted this on StackOverflow. Hoping someone here can help.
    http://stackoverflow.com/questions/1...isten-on-0-0-0

    Been trying to get the WrappingNeoServerBootstrapper to start the Neo4j WebAdmin interface on 0.0.0.0 instead of localhost. Tried everything form specifying JAVA_OPTS (E.g., -Dorg.neo4j.server.webserver.address=0.0.0.0), to passing my own Config in the second constructor argument of WrappingNeoServerBootstrapper - but it always listens on localhost. Hoping someone has a solutions or an example. Here is my Spring config - back to basics. Thanks in advance.

    Code:
    <bean id="graphDatabaseService" class="org.neo4j.kernel.EmbeddedGraphDatabase" destroy-method="shutdown">
        <constructor-arg index="0" value="${com.calendr.neo4jDataDir}"/>
        <constructor-arg index="1">
            <map>
                <entry key="allow_store_upgrade" value="true"/>
                <entry key="enable_remote_shell" value="true"/>
            </map>
        </constructor-arg> 
    </bean>
    
    <bean id="serverWrapper" class="org.neo4j.server.WrappingNeoServerBootstrapper" init-method="start" destroy-method="stop">
         <constructor-arg ref="graphDatabaseService"/>
    </bean>
    Last edited by MAndrews; Nov 17th, 2012 at 06:35 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •