adding api for hostIP