見出し画像

Conoha に立てた Neo4j の管理コンソール画面に接続する。

前回 Conoha に立てた Neo4j の管理コンソールに接続してみる。

http://xxx.xxx.xxx.xxx:7474/browser/ をブラウザで開く。
しかし「このサイトにアクセスできません」が表示され通らない模様。

キャプチャ

なので、サーバー上で /etc/neo4j/neo4j.conf を眺める。
ネットワーク設定のここっぽいので編集する。

#*****************************************************************
# Network connector configuration
#*****************************************************************

# With default configuration Neo4j only accepts local connections.
# To accept non-local connections, uncomment this line: #dbms .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 .default_advertised_address=localhost

dbms.default_listen_address をコメントアウトする。

- #dbms .default_listen_address=0.0.0.0
+ dbms.default_listen_address=0.0.0.0

dbms.default_advertised_address をコメントアウトし、値にサーバーのIPアドレスを入力する。

- #dbms .default_advertised_address=localhost
- dbms.default_advertised_address=xxx.xxx.xxx.xxx

再度 http://xxx.xxx.xxx.xxx:7474/browser/ をブラウザで開く。
無事コンソールが表示されました。

キャプチャ2

どうやら初期設定では外部からのアクセスを許可していない様でした。


この記事が気に入ったらサポートをしてみませんか?