Friday, November 7, 2008

How do I bind to a specific ip address? + tomcat

How do I bind to a specific ip address?

Each Connector element allows an address property. For example:

          address="192.168.1.1"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />

No comments: