question

JaredBlackman-0914 avatar image
0 Votes"
JaredBlackman-0914 asked ·

Cannot connect to server on VM despite being able to SSH into the VM and connect locally.

I created a VM in Azure with an ip of 52.189.255.38. I can ssh into the VM. I installed ElasticSearch on the VM. I can access the ElasticSearch server on the VM via localhost on port 9200. I add an inbound rule on the NSG to open port 9200. And yet for some reason I cannot access the ElasticSearch server on http://52.189.255.38:9200 over the internet. What gives?

azure-virtual-machines
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JonasWilkening-2566 avatar image
0 Votes"
JonasWilkening-2566 answered ·

Can you send us your elasticsearch Config (elasticsearch.yml) ? Or check which host you have configured?

Edit: try changing it to 0.0.0.0

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.