Specifying the Port
Go Up to Using Server Sockets
Before your server socket can listen to client requests, you must specify the port that your server will listen on. You can specify this port using the Port property. If your server application is providing a standard service that is associated by convention with a specific port number, you can also specify the service name using the Port property. It is a good idea to use the service name instead of a port number, because it is easy to introduce typographical errors when specifying the port number.