add host and port to the arguments.