Wrox Programmer Forums
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 22nd, 2007, 12:27 AM
Registered User
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kaushiksamaddar
Default Tomcat error

Hello friends,

When I start the Tomcat server, I get the following error message:
java.net.BindException Address already in use:JVM_Bind:8080

I have already checked the similar messages which have been posted earlier, so I understand that I might need to change the port number. I have used the netstat -a command where I have found that

Protocol TCP at Local Address home:8080 is in a Listening state.

Is there any way by which I would be able to figure out the process which is connected to that port 8080 and how I can disconnect the same.

Kaushik Samaddar
Old March 26th, 2007, 07:08 AM
Friend of Wrox
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post


I think you've selected to run tomcat as a service while installing it, check if tomcat is running as a service.

Old April 4th, 2007, 08:55 AM
Registered User
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Please check the server.xml (tomcat config file)
Your tomcat is trying to bind on default port 8080 during startup

Check your other application /services one might be running using this port.

Change the tomcat default setting.
Change port 8080 to 9090 in server.xml and try again.

Or stop the service which is using the 8080 port.

Rajesh Maurya


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 5 example 1 tomcat error bozokhun BOOK: Beginning JavaServer Pages 0 March 28th, 2007 04:51 AM
tomcat error Mr. Ram Apache Tomcat 0 March 20th, 2006 07:58 AM
Tomcat Connection error venkatachar Servlets 0 December 16th, 2004 06:52 AM
Tomcat set up error vaithise Apache Tomcat 2 August 3rd, 2004 12:55 AM
Unfixable Tomcat Error ! pkhann1 Apache Tomcat 1 May 18th, 2004 10:16 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.