Elasticsearch on azure marketplace

I have included Elasticsearch and kibana in azure market place. My requirement is to make the elasticsearch enable outside in linux as i need to push data to elasticsearch and to view the logs. We are able to connect elasticsearch to localhost but unable to connect with the VM ipaddress.