The last listen declaration in a configuration file sets the port on which the server will listen for connections (and is ignored if from_inetd is set). The syntax is:
listen [portno]
eg.
listen 17003