File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes How to Find what services run on port 8080 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to Find what services run on port 8080" Watch "How to Find what services run on port 8080" New topic

How to Find what services run on port 8080

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1240
I need to know which services run on port number 8080
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
There is an infinite amount of service that can "run on port 8080". Or any port.

There is no enforcement that protocol x must use port a.

Your best bet would be to examine what that application gets sent back. If it is a standard protocol it should be easy to ferret out, Such as HTTP or FTP, even specific instances of those implementation may be discovered, ie Apache or IIS. If it is a custom protocol, that is not so easy, especially if the data is binary or the text returned doesn't explicitly say it. You can either stop and say it is a TCP or UDP application, or see if you can match the data to a proprietary protocol that has been reverse engineered.

Or if you have access to the machine, ask the OS.

"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

You can use a program like TCPView on Windows or "netstat -tulpen" on Linux to find out what programs are bound to ports.

[How To Ask Questions On JavaRanch]
triken das

Joined: Nov 24, 2008
Posts: 1

Rusty Shackleford, your information is helpful. thanks.
[ December 06, 2008: Message edited by: triken das ]

Professional Management Education- <a href="" target="_blank" rel="nofollow"></A>
I agree. Here's the link:
subject: How to Find what services run on port 8080
It's not a secret anymore!