Intellig tomcat adress localhost:80 already in use ?!?!?!

When i try to run a web project with tomcat in say adress http://localhost:80 already in use. but my tomcat is not runnig yet.. HAve any clues ???

6 comments
Comment actions Permalink

Perhaps you have other WebServer running in background (like IIS or Apache?)
Normally, Tomcat uses port 8080 as default (http://localhost:8080).

0
Comment actions Permalink

no there isn't other web server running or installed. When i installed tomcat i tried it with port 8080 and port 80. Always the same error message

thanks

0
Comment actions Permalink

Maybe tomcat is running as a service. Run
CATALINA_HOME/bin/shutdown.bat or shutdown.sh.

Norris Shelton
Sun Certified Java Programmer




Syd wrote:

>no there isn't other web server running or installed. When i installed tomcat i tried it with port 8080 and port 80. Always the same error message
>
>thanks

>

0
Comment actions Permalink

Thanks but tomcat is not running as a service

0
Comment actions Permalink

Syd wrote:

Thanks but tomcat is not running as a service


So when you open a web browser and go http://localhost:80 - what do you
see? anything?

0
Comment actions Permalink

The problem is that if you are on a mac or some other linux variant, ports below 1024 are restricted for root access only. What you'll need to do is using the Terminal, navigate to the

cd /Applications/IntelliJ\ IDEA.app/Contents/MacOS/       folder and then type:

sudo ./idea

to run as root. Then your server will start on port 80.

0

Please sign in to leave a comment.