Thursday, January 08, 2009

Intellij port in use when starting tomcat

Problem:
Recently, i started to get "Error running Unnamed: Address localhost:8080 is already in use" errors when starting tomcat through intellij. I checked netstat and nothing was using port 8080, restarting the computer didnt help. Interestingly, i could start tomcat from the command line on port 8080.

Solution:
The same day, ESET NOD32 3.0.684.0 Antivirus was pushed on my box. It was the evil problem. I needed to disable the following things in it in order to get tomcat to launch again:
Setup -> Advanced -> Web Access Protection -> Uncheck "enable web access protection"
Setup -> Advanced -> Web Access Protection -> HTTP -> Web Browsers -> put [x] on java.exe and idea.exe

apply and reboot.

3 comments:

  1. I had the same problem and was really confused. You saved my day, thanks :)

    ReplyDelete
  2. Thanks for saving me a bunch of time scratching my head!

    ReplyDelete
  3. thanks, this really stopped me from having all the kings men, put me back together again.

    ReplyDelete