This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Port Conflict Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Port Conflict" Watch "Port Conflict" New topic
Author

Port Conflict

Mary Chellapa
Ranch Hand

Joined: Jul 26, 2011
Posts: 93
tomcat complaining about port; how do I find out what else is running on port 80?


Mary
Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

Analyse running processes and services plus if you're running on linux, check if you're trying tu open this port with super user.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I believe that "netstat" is available on just about all machines where one might be running Tomcat.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

Paul Clapham wrote:I believe that "netstat" is available on just about all machines where one might be running Tomcat.


"netstat -an" for Windows.

"netstat -ln" for most other OS's.

However, unless you've overridden the Tomcat defaults, Tomcat isn't using Port 80. The default for Tomcat is port 8080. Port 80 is normally used by "regular" webservers such as Apache and IIS.


Customer surveys are for companies who didn't pay proper attention to begin with.
Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

after netstat for windows to kill current running process in that port


OCPJP 6, OCEWCD Java EE 6
 
Consider Paul's rocket mass heater.
 
subject: Port Conflict
 
Similar Threads
Indian Market!!! oopssssssss going down
can't start j2ee server - What to do?
see proxy port
do i have to supply a port number when start server?
JBoss Remote Lookup