It would be nice to have an option to choose a random free port, and the target program can read it from environment variables.