tomcat: transport error 202: bind failed: Address already in use ["transport.c",L41]

1,572 views
Skip to first unread message

Raymond Domingo

unread,
Jul 9, 2009, 2:48:52 AM7/9/09
to mobicents-public
Hello,

I Installed mobicents almost like desribed on:
http://www.mobicents.org/installation.html

But:
- I'm using jars from trunk
- Unsing multi instances of tomcat6 integrated in my ubuntu

Scenario
- I start tomcat instance containing mobicents -> Success
- When I start a second instance (configured for different ports) I
get an error:

tomcat: transport error 202: bind failed: Address already in use
["transport.c",L41]

When I configure my second tomcat instance to use the original tomcat
6.0.18 binaries, all is fine and I don't get the error. So it seems to
have something todo with the sip-servlet related libarries I added.

Any suggestions how to solve this ?
Are the sip-servlet related libraries using some port I need to
manually configure so my two instances aren't using the same port ?

Raymond Domingo
Telecats

Jean Deruelle

unread,
Jul 9, 2009, 4:35:56 AM7/9/09
to mobicent...@googlegroups.com
Yes there is the sip connector that is using a dedicated port 

Look in the server.xml for the connector with the attribute protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
and change the value of the port to a different value than the one used in the first tomcat instance by example 5081

Best regards
Jean
Reply all
Reply to author
Forward
0 new messages