testing host and port