fix port number

fix port number in the standard range (1, 1024)