make an additional conncetor in server.xml:
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="80" minProcessors="5" maxProcessors="75"
enableLookups="false" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8085" minProcessors="5" maxProcessors="75"
enableLookups="false" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
Tomcat now listens on port 80 and 8085.
You can also rederict using the virtual-host:
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="false">
<Host name="Intranet-IP" debug="0" appBase="webapps/intranet"
unpackWARs="false">
Hopes it helps
Chris
# Lalit Nagpal # wrote:
>how to run an application on an intranet. I want my
>servlets to be accessible only for the comps on my
>LAN. I am using tomcat 4 - 80 port is for our website
>now do i have to use some other port for intranet
>application - if yes how to configure tomcat to listen
>to two ports.
>
>Thanks is advance
>Lalit
>
>__________________________________________________
>Do You Yahoo!?
>Sign up for SBC Yahoo! Dial - First Month Free
>http://sbc.yahoo.com
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>