Closed bucha closed 5 years ago
+1, have the same issue.
@bucha can you modify the pull request to the following. This way if port is passed in explicitly it will assign it, else default to the URL parser.
port: ( this.connection.match(/:(\d+)/) ? this.connection.match(/:(\d+)/)[1] : uri.port),
@pcasa I've changed the code as you proposed. Ideally though, I would expect the URL parser to handle this by itself on day, which is why I prioritized it earlier.
EDIT: Code untested
It's now possible to explicitly add
:80
to the host. Formerly the UI part would just have stripped the port away which results in the backend part to default to 9200.If you have your ES cluster behind a proxy on port 80, this will enable HQ to connect to it.