Have installed ElasticSearch on CapRover using One-Click install; but got the following error when trying to connect:
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
CapRover
remaps the port ofElasticSearch
:9200
->80
so need to either explicitly specify the port
80
:"<your url or ip>:80"
or alternatively you can change CapRover's port mapping to
9200