I'm trying to run ElasticSearch and view the webpage from a different machine.
On my Debian desktop,
elasticsearch-5.0.1/bin/elasticsearch -E network.host=100.96.149.173 works. I can access machine_hostname:9200.
But running the same command in a Google Compute Engine VM gives:
[2018-02-20T21:45:54,967][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler]  uncaught exception in thre
org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to bind to [9300-9400]]; nested
: BindException[Cannot assign requested address];
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-5.0.2.jar
It appears I need a different set of flags for VMs, but I can't figure out what.