web app used to generate port number