elasticsearch 连接到CapRover上的ElasticSearch时出错
使用一键式安装在CapRover上安装了ElasticSearch;但在尝试连接时出现以下错误:
elasticsearch 连接到CapRover上的ElasticSearch时出错,
elasticsearch,caprover,
elasticsearch,Caprover,使用一键式安装在CapRover上安装了ElasticSearch;但在尝试连接时出现以下错误: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000019CF191C370>: Failed to establish a new connection: [WinError 10061] No connection could be made because
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000019CF191C370>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it
urllib3.exceptions.NewConnectionError::未能建立新连接:[WinError 10061]无法建立任何连接,因为目标计算机主动拒绝它
CapRover
重新映射ElasticSearch
:9200
->80
因此,需要明确指定端口80
:
“:80”
或者,您也可以将CapRover的端口映射更改为9200