Generator for random port number.