Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX:Can not connection to http://elasticsearch:9200 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

chenyhd
Copy link

@chenyhd chenyhd commented Jul 1, 2019

Hi,
在极客时间 《Elasticsearch核心技术与实战》 视频教学的第7节课中介绍使用 docker-compose 启动多个es 相关实例,我在测试学习的过程中发现有人和我有同样的问题,出现了 cannot connect to http://elasticsearch:9200 的异常,导致 kibana 无法正常启动,cerebro也无法正常检测,我似乎找到了问题的所在,但好像不是所有人都会遇到这个问题。希望提交这个 pull request 来解决这个问题。谢谢。

Copy link

@onebirdrocks onebirdrocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@90vFan
Copy link

90vFan commented Jul 11, 2019

我把这行注释掉才可以正常启动, Operating System: Ubuntu 18.04.2 LTS

@chenyhd
Copy link
Author

chenyhd commented Jul 11, 2019

我把这行注释掉才可以正常启动, Operating System: Ubuntu 18.04.2 LTS
和我的操作系统是一样的,但是我必须加上才可以,明明是docker就是为了解决环境问题,但是却又带来了新的问题

@JustJia
Copy link

JustJia commented Jun 9, 2020

如果同为ubuntu系统遇到这种问题,可以设置一下
sudo sysctl -w vm.max_map_count=262144

@wangkeeeeee
Copy link

如果同为ubuntu系统遇到这种问题,可以设置一下 sudo sysctl -w vm.max_map_count=262144
太强了,用了这个命令一下就解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants