The entry point of any web request is the HTTP container. Here, the server configuration is always server-dependent, but most of the vendors will share the same concepts. It is important to tune that part to make sure that the outbound of your application is not unintentionally throttling it too much; otherwise, you will limit the scalability of your application for no reason.
For instance, for GlassFish, you can configure the HTTP connector in the UI administration or the corresponding configuration file. Here is what it looks like:
This page is really about the tuning of the HTTP connector (not the binding address, port, or the ...