Service name (nest-elasticsearch in above case) is used when you use docker-compose for ochestrating everything. Otherwise, bind the port to the host and use localhost. For example:
ports:-9200:9200-9300:9300
Then you can access the elasticsearch node using http://localhost:9200
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Service name (
nest-elasticsearch
in above case) is used when you use docker-compose for ochestrating everything. Otherwise, bind the port to the host and uselocalhost
. For example:Then you can access the elasticsearch node using
http://localhost:9200