Find an open port to listen on.