use correct host and port