OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.2.1. Changing default ports


By default Tomcat runs a HTTP connector on port 8080 and an AJP connector on port 8009. You might want to change those default ports to avoid conflict with another application on the system. This is done by changing the following lines in /etc/tomcat7/server.xml:


<Connector port="8080" protocol="HTTP/1.1"

connectionTimeout="20000" redirectPort="8443" />

...

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />


Top OS Cloud Computing at OnWorks: