Listing 9-1 shows the default Coyote HTTP/1.1 connector configuration (from CATALINA_HOME/conf/server.xml).
Listing 9-1: The Default HTTP/1.1 Connector
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> <Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" />
As with many components in Tomcat’s configuration, some of these attributes are common to all connectors and some are unique to the HTTP connector. Chapter 4 shows how to deal with all these attributes. However, in this case the attributes specify that this service should listen to port 8080 for HTTP requests, set thread-handling information, disallow DNS lookups, and assign a port to which SSL requests should be sent (8443), among other things.