1)找到这个配置项#dbms.connector.http.listen_address=:7474
改为dbms.connector.http.listen_address=0.0.0.0:7474
2)外网连接时要求身份验证,即使输入正确的密码也会报错,解决方法在官网找到了:
https://neo4j.com/developer/kb/explanation-of-error-websocket-connection-failure/
In Neo4j 3.0 and its implementation of the Bolt protocol, if a remote browser connects to Neo4j (http://:7474) and attempts to authenticate, the following error may be encountered:
WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryptio