Google 계산 엔진에서 Kibana의 공용 IP를 작동시키지 못합니다. 난 그냥 키바을 테스트 nginx를 소등 0.0.0.0
Kibana 공인 IP 사이트에 연결할 수 없습니다.
에 localhost
에서 elasticsearch.yml
을 변경하는 경우 Elasticsearch 공용 IP를 통해 작동하지만 사이트가, 도달 할 수없는 말한다.
실행에 : 우분투 16.04, Elasticsearch 5.6.0, 키바 5.6.0
방화벽port 5601
Kibana firewall screenshot
kibana.yml
파일에 허용 된 다음이되었다
:
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.url: "http://localhost:9200"
elasticsearch.ssl.verificationMode: none
가 netstat -natp | grep 5601
실행을 , 얻을 :
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:5601 0.0.0.0:* LISTEN -
개
그리고 실행 sudo netstat -tupln
반환 :
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1916/sshd
tcp 0 0 0.0.0.0:5601 0.0.0.0:* LISTEN 10615/node
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 1447/systemd-resolv
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 8490/java
tcp6 0 0 :::22 :::* LISTEN 1916/sshd
tcp6 0 0 :::5355 :::* LISTEN 1447/systemd-resolv
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 8490/java
udp 0 0 127.0.0.53:53 0.0.0.0:* 1447/systemd-resolv
udp 0 0 0.0.0.0:68 0.0.0.0:* 1156/dhclient
udp 0 0 10.128.0.100:123 0.0.0.0:* 1702/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 1702/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 1702/ntpd
udp 0 0 0.0.0.0:5355 0.0.0.0:* 1447/systemd-resolv
udp6 0 0 fe80::4001:aff:fe80:123 :::* 1702/ntpd
udp6 0 0 ::1:123 :::* 1702/ntpd
udp6 0 0 :::123 :::* 1702/ntpd
udp6 0 0 :::5355 :::* 1447/systemd-resolv
curl -i localhost:5601
반환 :
HTTP/1.1 200 OK
kbn-name: kibana
kbn-version: 5.6.0
cache-control: no-cache
content-type: text/html; charset=utf-8
content-length: 217
accept-ranges: bytes
Date: Mon, 11 Sep 2017 23:27:38 GMT
Connection: keep-alive
<script>var hashRoute = '/app/kibana';
var defaultRoute = '/app/kibana';
var hash = window.location.hash;
if (hash.length) {
window.location = hashRoute + hash;
} else {
window.location = defaultRoute;
sudo systemctl status kibana
을 실행하는 것을 나타냅니다 Google Compute Engine에서 어떤 아이디어라도 크게 감사 할 것입니다.
kibana.yml의'server.host' 설정에서 Kibana의 공용 IP 설정을 시도 했습니까? – Val
그래도 그럴 수 없다는 것을 시도했지만 – 8Bit