Javascript Neo4J 3.1.3远程图形数据库访问

Javascript Neo4J 3.1.3远程图形数据库访问,javascript,c#,neo4j,Javascript,C#,Neo4j,我是Neo4J 3.0图形数据库的新手。我对Neo4J有一些问题 默认情况下,它适用于localhost,工作正常。现在我想允许访问所有人。我在远程服务器中安装了neo4j,并尝试在选项中更改服务器配置 “dbms.connector.http.listen_address={MyIpAddress}:7474”,但不工作 #*************************************************************** # Server configuration

我是Neo4J 3.0图形数据库的新手。我对Neo4J有一些问题

默认情况下,它适用于localhost,工作正常。现在我想允许访问所有人。我在远程服务器中安装了neo4j,并尝试在选项中更改服务器配置 “dbms.connector.http.listen_address={MyIpAddress}:7474”,但不工作

#***************************************************************
# Server configuration
#

# #{settings-reference.url}
dbms.directories.import=import

# Require (or disable the requirement of) auth to access Neo4j
dbms.security.auth_enabled=true

# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line:
#dbms.connectors.default_listen_address=0.0.0.0

# You can also choose a specific network interface, and configure a non-default
# port for each connector, by setting their individual listen_address.

# The address at which this server can be reached by its clients. This may be the server's IP address or DNS name, or
# it may be the address of a reverse proxy which sits in front of the server. This setting may be overridden for
# individual connectors below.`enter code here`
dbms.connectors.default_advertised_address=localhost

# You can also choose a specific advertised hostname or IP address, and
# configure an advertised port for each connector, by setting their
# individual advertised_address.

# Bolt connector
dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=:7687

# HTTP Connector

dbms.connector.http.enabled=true
dbms.connector.http.listen_address=0.0.0.0:7474


# HTTPS Connector
dbms.connector.https.enabled=true
#dbms.connector.https.listen_address=:#{default.https:port}

# Certificates directory
# dbms.directories.certificates=certificates


# Administration client configuration


# Comma separated list of JAX-RS packages containing JAX-RS resources, one
# package name for each mountpoint. The listed package names will be loaded
# under the mountpoints specified. Uncomment this line to mount the
# org.neo4j.examples.server.unmanaged.HelloWorldResource.java from
# neo4j-examples under /examples/unmanaged, resulting in a final URL of
# http://localhost:${default.http.port}/examples/unmanaged/helloworld/{nodeId}
#dbms.unmanaged_extension_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged


# HTTP logging configuration

# HTTP logging is disabled. HTTP logging can be enabled by setting this
# property to 'true'.
dbms.logs.http.enabled=false

# Enable this to be able to upgrade a store from an older version.
#dbms.allow_format_migration=true


#dbms.memory.pagecache.size=10g

# Enable this to specify a parser other than the default one.
#cypher.default_language_version=2.0


#dbms.tx_log.rotation.retention_policy=7 days

# Enable shell server so that remote clients can connect via Neo4j shell.
#dbms.shell.enabled=true
# The network interface IP the shell will listen on (use 0.0.0.0 for all interfaces).
#dbms.shell.host=127.0.0.1
# The port the shell will listen on, default is 1337.
#dbms.shell.port=1337
错误

如果我输入带有ip地址的url,我会得到“无法访问此站点”

如果我输入路由器ip地址要求登录,我会得到错误:

N/A:WebSocket连接失败。由于web浏览器中存在安全限制,此Neo4j驱动程序无法找到故障原因。请使用浏览器开发控制台确定失败的根本原因。常见原因包括数据库不可用、使用错误的连接URL或临时网络问题。如果启用了加密,请确保将浏览器配置为信任Neo4j配置为使用的证书。WebSocket“readyState”为:3


我想使用url访问我的neo4j。默认情况下,neo4j浏览器使用Bolt连接到数据库

两种解决方案:

a) 您还将螺栓端口设置为0.0.0.0

dbms.connector.bolt.listen\u地址=0.0.0.0:7687

b) 您可以在浏览器中禁用螺栓:


默认情况下,neo4j浏览器使用螺栓连接到数据库

两种解决方案:

a) 您还将螺栓端口设置为0.0.0.0

dbms.connector.bolt.listen\u地址=0.0.0.0:7687

b) 您可以在浏览器中禁用螺栓:


您应该将其更改为0.0.0.0:7474我尝试过,但出现错误org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@6dc3fd85please粘贴当前配置(完成)除了您获得的完整堆栈跟踪之外,您还应该将其更改为0.0.0.0:747474我尝试过,但得到的错误是org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@6dc3fd85please粘贴当前配置(完成)除了完整的stacktrace外,您还可以访问thanx它的工作路由器级别意味着有线电视正在工作,但我想给出外部访问的url如何做到这一点?我想给出我的服务器的公共IP地址,以便访问neo4j db到每个人。thanx它的工作路由器级别意味着有线电视正在工作,但我想给出外部访问的url我想给每个人提供我的服务器的公共IP地址来访问neo4j数据库