Getting 404 Not Found error while sending data to Elasticsearch via port 80

Elasticsearch does by default not listen to port 80, so if you want to use this you will need to forward traffic from port 80 to 9200. You can do this through port forwarding or by e.g. placing a proxy in front of Elasticsearch.