lookup host and port