The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on external IP addresses.

I found out how to change the port number in /etc/tomcat6/server.xml with the Connector tag, but this isn't what I need.

1 Answer 1


Inside the file server.xml (or similar) you should have the Service tag. Change this from:

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


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

In this way it should not bind anymore on (all interfaces) but just on your loopback interface. For more information:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .