- 默认展示地址
功能:会显示在网页的标签页,实际的数据是你填写的ip地址的neo4j数据。
例如:我在100服务器部署neo4j,但是dbms.connectors.default_advertised_address参数填写的是200服务器的地址,并且200服务器也部署了neo4j,那么前端显示的网页标签页地址实际上是200服务器的地址,显示的数据也是200服务器的neo4j数据。也就是说100服务器充当200服务器的代理,访问100服务器的neo4j服务实际上访问的是200服务器。
显示效果是:
网页地址栏:http://xxx.xx.xx.100:7474/browser/
网页标签栏:bolt://xxx.xx.xx.200:7687/browser/
如果填写的是当前服务器的ip地址,那么上面两个栏目ip应该是一样的才对。
# 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.
# localhost is not runable, local ip and reverse proxy ip can do, test by xxx at 2024-03-05
# if you use reverse proxy ip, then local ip as a proxy, neo4j data is remote data actually.
dbms.connectors.default_advertised_address=xxx.xx.xx.xxx