Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

8080 is already in use  RSS feed

 
Vydha Sridevi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I earlier worked with Eclipse IDE, tomcat (of various versions) for very small sample web applications. Now i am working with IntelliJ IDE and tomcat.

When i tried to run tomcat say some existing version, i get this error message : "Address localhost:8080 is already in use".
So i decided to delete all the existing tomcat dumps from my hard drive and go with only one version say 7.0.27. But i get one error message which can be seen in the attached document when i try to run the server.

Please suggest me how should i delete all the information related to ealier versions of tomcat from my hard drive so that i can freshly start my tomcat server.

Thanks in advance.
Sri



Error-with-tomcat-dump.png
[Thumbnail for Error-with-tomcat-dump.png]
 
praveen murali
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You got to edit your server.xml file (found inside Tomcat installation > conf folder), in case you want to assign a different port number to tomcat as default to change the port number, can take any port number of your choice as long as that is not being used by some other process.

One other reason could be if you want to skip step 1 is that check if the services are running and stop them if they are, Do you have scheduled tomcat to start automatically ? shutdown.bat (again from bin) should help you out.
 
praveen murali
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just curious!! was this resolved ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!