How do you configure tomcat to bind to a single ip address (localhost) instead of all addresses?
views:
2815answers:
1
+5
Q:
How do you configure tomcat to bind to a single ip address (localhost) instead of all addresses?
+8
A:
In the tomcat/conf/server.xml there are several connectors configured.
each connector has an optional "address" attribute where you can specify a bind address for that connector.
<Connector
port="8080"
protocol="HTTP/1.1"
address="127.0.0.1"
connectionTimeout="20000"
redirectPort="8443"
/>
ScArcher2
2008-08-20 19:19:46