Remote access error for ElasticSearch

Hi,

I have the next issue: when I configure ElasticSerch to connect remotely from Windows host (ElasticSearch is running in Linux VM) I've put "network.host: 0.0.0.0" .
But when I run de bin to start ElasticSearch I get this error:

ERROR: [2] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Nevertheless, if I run ElasticSearch to been accessed from localhost I have no errors from file descriptor neither virtual memoryonly WARNINGS.

FYI:
cat /proc/sys/fs/file-max
1629915

That's due to Bootstrap Checks | Elasticsearch Guide [6.5] | Elastic. You should read them and double check that what you have configured matches what Elasticsearch expects.

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