Howdy, Do you mean listen only on that IP address (i.e. your server has multiple IP addresses) or accept connections only from a certain IP address? The latter can be done with the RemoteAddressFilter that ships with tomcat.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 13, 2003 2:38 PM >To: [EMAIL PROTECTED] >Subject: Listen on specific ip address.... > >Hello All and thanx in advance for any help.... > > > >I need my webapp to listen on port 80 on a specific ip address......this >box >that I have tomcat installed on, also has IIS installed.....when I added >"address="192.168.100.25" and changed port="8080" to port="80" on the >connector string below, tomcat picked up all of the requests for all ip >addresses......how can tell my webapp to listen on specific IP >address.......Also, this is the only webapp on tomcat.....also, if this >helps, this wepapp is a commercial product called >"MailFrontier"..........and the weird thing is, this is the only webapp >installed on tomcat, and it's war file is called ROOT.war and inside the >server.xml file, there are no contexts setup.........any ideas on how to >make this webapp listen on address="192.168.100.25" and port="80" ....i'm >stumped.......do I need to specify the ip address in the "host" >element..... > > > > > > > > > > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" > > address="192.168.100.25" port="80" >minProcessors="5" maxProcessors="75" > > enableLookups="false" redirectPort="8443" > > acceptCount="100" debug="0" connectionTimeout="20000" > > useURIValidationHack="false" disableUploadTimeout="true" /> > > > > > > <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" >autoDeploy="true"> This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
