Elasticsearch only accessible from localhost

2016/11/11 10:52:30 [error] 1518#0: *279 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.117, server: 192.168.1.107, request: "POST /elasticsearch/tweet*/_field_stats?level=indices HTTP/1.1", upstream: "http://[::1]:5601/elasticsearch/tweet*/_field_stats?level=indices", host: "192.168.1.107", referrer: "http://192.168.1.107/app/kibana"

This is the only log that I could find of relevence found in nginx
The status of kibana shows everthing as green.
Going to 192.168.1.107:9200 just gives me connected refused which I guess is the log above.