Place inside a <Service> element<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="443"
address="127.0.0.1"/>
and the output of netstat contains an entry for 127.0.0.1:80 instead of the
usual 0.0.0.0:80

Regards,

Serge Fonville

On Wed, Oct 29, 2008 at 2:31 PM, dOE <[EMAIL PROTECTED]> wrote:

> Serge thanks for the reply...
>
> so to hard code the IP its just a matter of ONLY adding <Connector
> address='
> 192.168.1.1'>  ?
>
> The online document site does not give any syntax examples.
>
> On Wed, Oct 29, 2008 at 9:17 AM, Serge Fonville <[EMAIL PROTECTED]
> >wrote:
>
> > There is an address attribute inside the connector that specifies the
> > address of the listening socket
> > http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
> > http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
> >
> > Hope this helps
> >
> > Regards,
> >
> > Serge Fonville
> >
> > On Wed, Oct 29, 2008 at 2:06 PM, dOE <[EMAIL PROTECTED]> wrote:
> >
> >> I have a server that I am hosting multiple Tomcat servers from, and the
> >> issue I am running into is... - I have multiple IP's bound to the
> servers
> >> interface, Tomcat _1 has port 8080 specified as its connector port.  The
> >> second Tomcat_2 has port 8180 set as its conector port in its
> server.xml,
> >> but regardless of these custom ports I am only able to reach Tomcat_1
> >> through 8080, and 8180.  Is it possible to hard code the IP you want
> that
> >> particular instance to listen on?
> >>
> >
> >
>

Reply via email to