vojtech
17
Port is a 2-byte number, i.e. 0-65535. Some numbers are declared as ‘well-known’ and some as ‘registered’ (see http://www.iana.org/assignments/port-numbers). But on an ordinary-user computer only few of them are used. You can choose as you like from the ports that are not already used on your computer.