auto detect host IP