Make it possible to run the SHARED_PORT on a random high port,
similar to prior behavior.  #3813