Can not start up Tomcat server

When I try to startup server, Intellij throw this error -"error running Named:Address
localhost:8080 is already in use".First time i think its not problem i close all serveces that use port 8080, but i still have the problem.
Please, who can solve this problem for me?

6 comments

It sometimes happens, that IDEA does not shutdown Tomcat correctly. In this
case invoke ]]>/bin/shutdown.sh.

Tom

0

Can you explain me in more details

0

I still have not solved this problem.And I expect your help!

0

Hi Idris,

I think what Mr. Tom is saying, it is possible that IDEA failed to shutdown your tomcat server that is why when you're trying to start tomcat again it will tell you that localhost:8080 is already in use. Be sure to shutdown first your tomcat before starting it again. You can do it by following Mr. Tom's instruction or by killing the java process to make sure (note: if there is more than one java process running you have to find out which one is tomcat).

Best regards,
Carlos

0
Avatar
Nikolay Chashnikov

Hello Idris,

Which build of IDEA are you using?

Looks like some application uses port 8080. Perhaphs Tomcat server wasn't
terminated properly. You can stop it using ]]>/bin/shutdown.bat.

When I try to startup server, Intellij throw this error -"error
running Named:Address

localhost:8080 is already in use".First time i think its not problem
i close all serveces that use port 8080, but i still have the problem.

Please, who can solve this problem for me?



0

Tnank you Carlos Lising Jr and Nikolay Chashni... that You tried to help me
but I have already solved this problem. I just changed port from 8080 to 8081.

0

Please sign in to leave a comment.