This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
The port to which the container is bound is not controlled by the servlets. This is a configuration issue. It's also one that is greatly affected by the operating system. (i.e. On Unix systems, you would need to be root uer to bind to ports lower than 1025. You also can't have two applications bound to the same port/protocol combination).