簡體   English   中英

如何訪問新的neo4j ubuntu / ec2安裝?

[英]How to access new neo4j ubuntu/ec2 install?

我在ec2上安裝了neo4j並啟動了服務。 如果我從遠程外殼程序中curl http://localhost:7474 ,它將返回正數:

{ "management" : "http://localhost:7474/db/manage/", "data" : "http://localhost:7474/db/data/", "bolt" : "bolt://localhost:7687" }

我在ec2實例的安全組中打開了端口7474。

但是,當我嘗試在瀏覽器中訪問http://ec2-52-3-253-2.compute-1.amazonaws.com:7474/時,無法訪問該站點。

我缺少將ec2公開給neo4j服務的步驟嗎?

我不確定Neo4j如何在ec2上運行,但是請嘗試在neo4j.conf中設置這兩個設置,以允許非本地連接並設置廣告地址。

# 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.
dbms.connectors.default_advertised_address=localhost

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM