Graylog

在不同的埠執行 graylog

  • June 25, 2018

嗨,我使用了 openstack qcow2 格式並執行了 graylog 伺服器

現在我只能使用浮動公共 IP 地址而不是私有內部 IP 地址來訪問我的 openstack 機器。

在這裡,當我使用公共 IP 地址進行 graylog 時,出現以下錯誤,

"http://172.29.18.94:9000/api/"

這實際上是我的私人 IP 地址。

如何更改 IP 和埠應該在 8080,我按照文件“ http://docs.graylog.org/en/2.4/pages/installation/openstack.html ”安裝

/etc/graylog/server/server.conf

更改web_listen_urirest_listen_uri行:

web_listen_uri = http://ip_address:8080/
rest_listen_uri = http://ip_address:8080/api/

ip_address顯然會替換為您要使用的地址。您還需要允許埠 8080 通過防火牆並重新啟動graylog.

引用自:https://serverfault.com/questions/918105