一直觉得是防火墙的问题,折腾了很久,忽然想到去查查es的接口,妈蛋!elasticsearch
在eelasticsearch/elasticsearch.yml 中须要将network.host: 0.0.0.0就能够访问了接口