File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes How do we know what application is running in what port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How do we know what application is running in what port" Watch "How do we know what application is running in what port" New topic
Author

How do we know what application is running in what port

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am using Windows . I am sometimes getting Address Already Bind .

So i am just asking how can we know what application is utilizing what port ??

Thanks you .


Save India From Corruption - Anna Hazare.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

On Windows or Linux, use netstat. Or on Windows get TCPView from sysinternals.


JBoss In Action
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you ,

I need to check what is running on Port 8080 , but when i used netstat -a on to the command prompt it is showing as


proto Local Address Foreign Address State
TCP ravi-5ec049acd6:8080 ravi-5ec049acd6:0 LISTENING


How can i check ??
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Try running



and see if that helps. Or use TcpView
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do we know what application is running in what port