tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <tomcat-us...@list-post.mks-mail.de>
Subject Re: Binding Tomcat to localhost
Date Tue, 27 May 2008 15:28:50 GMT
Gregor Schneider wrote:

> unfortunately, it doesn't work as expected since Tomcat is still
> listening on all possible IP-adresses:

That's because you didn't follow my advice nor that of the docs I
pointed you to:

>> Set the address attribute of the <Connector>(s) accordingly.
                                    ^^^^^^^^^^^

> Can you see if I have a flaw in my server.xml?

Yes, neither an address attribute here
>     <Connector port="8080" maxHttpHeaderSize="8192"
>                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>                enableLookups="false" redirectPort="8443" acceptCount="100"
>                connectionTimeout="20000" disableUploadTimeout="true" />

nor here
>     <Connector port="8009"
>                enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

but here, where it does nothing
>       <Host name="localhost"
>             appBase="webapps"
>             unpackWARs="true"
>             autoDeploy="true"
>             xmlValidation="false"
>             xmlNamespaceAware="false"
>             adress="127.0.0.1" >

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message