You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/07/02 20:04:45 UTC

RE: bindexception

	A. Stop whatever is using the port you are trying to use
	B. Change the port you are trying to use.

	To determine what ports you are trying to use with Tomcat, look in
the sever.xml file for the Connectors, they will have ports associated with
them.  These are the ports that you are trying to use and are having a
conflict with.  By default Tomcat uses 8080 and 8007, which sometimes
conflict with other web server configurations (Web-based administration,
etc).

	Randy


> -----Original Message-----
> From: Brawner, Jerry J [mailto:Jerry.Brawner@SW.Boeing.com]
> Sent: Monday, July 02, 2001 2:39 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: bindexception
> 
> 
> i'm getting the following error when i try to start tomcat.  
> can someone
> tell me what i need to do.
> 
> thanks,
> jb
> 
> 
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
>         at java.net.ServerSocket.<init>(ServerSocket.java:173)
>         at java.net.ServerSocket.<init>(ServerSocket.java:124)
>         at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(
> DefaultServerS
> ocketFactory.java:97)
>         at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> pEndpoint.java
> :239)
>         at
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.java:188)
>         at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 
> 
> 
>