set HOST_IP automatically