How to use Random port generator — Desktop demonstration