Google Compute Engine 上的 Neo4j websocket 连接超时

Neo4j websocket connection timeout on Google Compute Engine

我目前 运行 Neo4j on Google Cloud with in a Compute Engine VM 运行 Ubuntu。 7474 端口按预期工作,但是我在尝试连接到服务器时收到以下消息:

WebSocket connection to 'ws://<ip>:7687/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

我检查了 conf/neo4j.conf 中的 dbms.connector.bolt.address=0.0.0.0:7687,它没有被注释掉。

我检查了防火墙,端口7687有规则,还有什么可能导致这个?

在此先感谢您的帮助

更新:

我能够从 VM 的命令行使用 cypher-shell,它连接到 bolt://localhost:7687

原来问题既不是 GCP 也不是 neo4j。我工作的公司有防火墙阻塞端口,这就是我无法使用浏览器连接到数据库的原因。 Compute Engine 中的数据流连接到 neo4j 没有问题。