updated get remote address of host machine
updated get remote address of host machine