File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 18882
    
    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: 16228
    
  21

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Port Conflict