Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.net.bindexception:address already in use

 
swetha muthyapu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have JDk 1.3 and Apache Tomcat 4.0in my system.When i try to start the server i get the following java.net.bindexception:address already in use
I have checked that Tomcat server is listening at port 8080 and no other application is using this port.Can someone suggest what to do?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Tomcat questions in the Tomcat forum. I have moved this post there for you.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most likely reason is that Tomcat is already running.
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


If you are not sure other applications use 8080 port , May be try changing the port no in "server.xml" and see if it works.
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear swetha,

Please post the entire stack trace for us to look at, not your interpretation of it. The stack trace may reveal things that you have overlooked.

(as an aside and unrelated to your problem, Java 1.3 and Tomcat 4 are really, really old. Both EOSL. Please upgrade)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic