finished getHostInfo