How to access Elasticsearch on a remote machine

Am i doing something wrong here?