Automatically assign a random port for port 0