change names to remote_host and remote_port