Elasticsearch connection timeout
ilvalerione
PROOP
2 months ago
I just deployed a fresh instance of an elasticsearch service and it result in timout errors trying to access the instance API from the browser.
This the public endpoint: https://elasticsearch-production-ee91.up.railway.app:9200/
The instance is tied to this Railway template: https://github.com/railwayapp-templates/elasticsearch
It's created with a default username and password. But it doesn't respond. Anyone is using this service? How are you able to access the elasticsearch API?
1 Replies
darseen
HOBBYTop 5% Contributor
2 months ago
The timeout is occurring because you included :9200 in the public URL. Railway automatically handles port forwarding for public domains.
Remove the port number to access the API.