Hello, I am able to connect to http://localhost:5601 on my ubuntu 18.04 machine that is running docker and the ELK stack, but not able to connect to my Ethernet IP.
mneely@umbrella-kibana:~$ curl -i http://localhost:5601
HTTP/1.1 302 Found
location: /app/kibana
kbn-name: kibana
kbn-xpack-sig: 6ac3af7a9155783217983f0fb9fc6b6b
content-type: text/html; charset=utf-8
cache-control: no-cache
content-length: 0
connection: close
Date: Wed, 08 Apr 2020 20:28:23 GMT
mneely@umbrella-kibana:~$ curl -i http://172.18.3.253:5601
curl: (7) Failed to connect to 172.18.3.253 port 5601: Connection refused
mneely@umbrella-kibana:~$
mneely@umbrella-kibana:~$ ifconfig
> docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
> inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
> ether 02:42:bb:9e:ff:dd txqueuelen 0 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 172.18.3.253 netmask 255.255.252.0 broadcast 172.18.3.255
> inet6 fe80::250:56ff:feb2:d86b prefixlen 64 scopeid 0x20
> ether 00:50:56:b2:d8:6b txqueuelen 1000 (Ethernet)
> RX packets 64435 bytes 90229013 (90.2 MB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 21423 bytes 1712637 (1.7 MB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> flannel.1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
> inet 10.1.66.0 netmask 255.255.255.255 broadcast 0.0.0.0
> inet6 fe80::c822:9ff:fe93:90b prefixlen 64 scopeid 0x20
> ether ca:22:09:93:09:0b txqueuelen 0 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 0 bytes 0 (0.0 B)
> TX errors 0 dropped 14 overruns 0 carrier 0 collisions 0
>
> lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
> inet 127.0.0.1 netmask 255.0.0.0'
---
## Default Kibana configuration from kibana-docker.
## from https://github.com/elastic/kibana-docker/blob/master/build/kibana/config/kibana.yml
#
server.name: kibana
server.host: "0.0.0.0"
elasticsearch.url: http://localhost:9200
server.port: 5601
logging.dest: /var/log/kibana/kibana.log
mneely@umbrella-kibana:~$ sudo ufw status
Status: inactive
Netstat shows only listening on port 5601, so I imagine that is the problem but I have no idea what is missing to allow me to bind to my ethernet interface.
mneely@umbrella-kibana:~$ netstat -anp | 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 127.0.0.1:5601 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:57530 127.0.0.1:5601 TIME_WAIT -