You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Cesare Vairetti <cv...@mcgestioni.it> on 2007/05/08 17:41:20 UTC
Bind address
Hi everybody,
I have a server with Windows 2003 Server, with one Ethernet. I have set two
ips to the same eth card.
The first 172.21.10.1 is linked to IIS server with port 80, the second is
172.21.10.2 and I would like to link to Apache Tomcat still using port 80.
Now the problem is that Tomcat tells me this:
java.net.BindException: Address already in use: JVM_Bind:80
even if it’s linked to a different IP.
This is a part of server.xml:
<Connector port="80" address="172.21.10.2 " maxThreads="150"
minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
Any good advice will very appreciated thanks a lot!
cesare
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 07/05/2007
14.55
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 07/05/2007
14.55
R: R: Bind address
Posted by Cesare Vairetti <cv...@mcgestioni.it>.
Thanks a lot, I resolve the problem, the link you tell me is fine for IIS
5.0, instead if you have IIS 6.0 you should take a look at:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B813368
just to be helpful for someone else.
Thanks again
-----Messaggio originale-----
Da: Markus Schönhaber [mailto:mailing-tomcat-user@schoenhaber.de]
Inviato: martedì 8 maggio 2007 18.21
A: Tomcat Users List
Oggetto: Re: R: Bind address
Cesare Vairetti wrote:
> Yes you have right, IIS, even if I impose to use only that particular IP,
in
> net stat I see 0.0.0.0:80 further the 172.21.10.1:80.
> And 0.0.0.0:80 is linked to a PID process that is System process.
> Then I switch off IIS and 0.0.0.0:80 disappear.
> I have no idea now how to solve the problem.
The first hit I get when I search for "iis bind address" on Microsoft's
support site is this:
http://support.microsoft.com/kb/259349/en-us
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
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 07/05/2007
14.55
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.6/794 - Release Date: 08/05/2007
14.23
---------------------------------------------------------------------
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
Re: R: Bind address
Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Cesare Vairetti wrote:
> Yes you have right, IIS, even if I impose to use only that particular IP, in
> net stat I see 0.0.0.0:80 further the 172.21.10.1:80.
> And 0.0.0.0:80 is linked to a PID process that is System process.
> Then I switch off IIS and 0.0.0.0:80 disappear.
> I have no idea now how to solve the problem.
The first hit I get when I search for "iis bind address" on Microsoft's
support site is this:
http://support.microsoft.com/kb/259349/en-us
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
R: Bind address
Posted by Cesare Vairetti <cv...@mcgestioni.it>.
Yes you have right, IIS, even if I impose to use only that particular IP, in
net stat I see 0.0.0.0:80 further the 172.21.10.1:80.
And 0.0.0.0:80 is linked to a PID process that is System process.
Then I switch off IIS and 0.0.0.0:80 disappear.
I have no idea now how to solve the problem.
Thanks a lot
cesare
-----Messaggio originale-----
Da: Markus Schönhaber [mailto:mailing-tomcat-user@schoenhaber.de]
Inviato: martedì 8 maggio 2007 17.48
A: Tomcat Users List
Oggetto: Re: Bind address
Cesare Vairetti wrote:
> I have a server with Windows 2003 Server, with one Ethernet. I have set
two
> ips to the same eth card.
>
> The first 172.21.10.1 is linked to IIS server with port 80, the second is
> 172.21.10.2 and I would like to link to Apache Tomcat still using port 80.
>
> Now the problem is that Tomcat tells me this:
>
> java.net.BindException: Address already in use: JVM_Bind:80
Use something like
netstat -ano
or tcpview to see whether there's really nothing bound to 172.21.10.2:80
or 0.0.0.0:80.
I have a faint memory that it was harder than it seemed to make IIS not
bind to all available IPs (could be wrong, though).
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
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 07/05/2007
14.55
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 07/05/2007
14.55
---------------------------------------------------------------------
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
Re: Bind address
Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Cesare Vairetti wrote:
> I have a server with Windows 2003 Server, with one Ethernet. I have set two
> ips to the same eth card.
>
> The first 172.21.10.1 is linked to IIS server with port 80, the second is
> 172.21.10.2 and I would like to link to Apache Tomcat still using port 80.
>
> Now the problem is that Tomcat tells me this:
>
> java.net.BindException: Address already in use: JVM_Bind:80
Use something like
netstat -ano
or tcpview to see whether there's really nothing bound to 172.21.10.2:80
or 0.0.0.0:80.
I have a faint memory that it was harder than it seemed to make IIS not
bind to all available IPs (could be wrong, though).
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