I am trying to issue curl commands from a separate vm to my elasticsearch node
curl -XPOST 'vmWithESInstanceRunning.com:9200/bank/account/_bulk?pretty' --data-binary @accounts.json'
However I continually get
curl: (7) couldn't connect to host
My ES instance is running (when I got to localhost9200 on the vm where the elasticsearch instance is running I see information) and I can run the above curl command from said vm but I want to run it from a separate vm.