Kibana -H doesn't work in VM

I'm trying to start Kibana and access the web page from a different machine. On my Debian desktop, kibana-5.0.2-linux-x86_64/bin/kibana -H <ip address> works. From a different machine, I can access machine_hostname:5601.

In a GCE VM, I get:

log [22:03:59.177] [fatal] Error: listen EADDRNOTAVAIL 35.230.120.179:5601
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at Server._listen2 (net.js:1244:19)
at listen (net.js:1293:10)
at net.js:1403:9
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

It seems I need different flags for a VM, but I can't figure out what they are.

Can you show the complete command you are using on the VM?

kibana-5.0.2-linux-x86_64/bin/kibana -H <external ip address>

Try binding to 0.0.0.0.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.