Originally posted by vanlalhmangaiha khiangte:
You can do netstat -a through command prompt ...
Then see which service is running on 8080 ...
[ November 26, 2008: Message edited by: vanlalhmangaiha khiangte ]
You can also find services running on your windows PC by using services.msc
Go to windows->run->services.msc
Or run on the command prompt
netstat /aon | find "8080"
The digits in the last column is the process id of the process service on the port. Use Windows Task Manager to find out what program is running with that process id, hence find out which service is running.
Anyway, if you are running Tomcat or JBoss or GlassFish, they typically serve on port 8080.
[ November 26, 2008: Message edited by: Duc Vo ]
"Windows Services" are a rough equivalent of Unix daemon processes. While a "windows service" may be listening to a port there is no requirement for a service to listen to anything.
services.msc is the Microsoft Management Console (MMC) snap-in for Services that lets you start, stop, enable, disable the various "windows services".
netstat.exe simply provides information on the currrently active TCP connections - it is capable of identifying the PID (Process ID) of the local program that is using a TCP connection or port. That PID could refer to a "windows service" or a regular program. If your web services stack is hosted by Tomcat, then the PID will identify the Tomcat process, regardless whether you started Tomcat from the console command line or as a "windows service".
I need to know how to find what services run on port number 8080
Given that this question is on the "web services" forum. I'm interpreting this to mean:
"How can I determine what web services are being offered on port 8080 - if any"
You may not have any way of finding out - some web service stacks make this information available in a way that is unique to them.
For example in Axis 1
Navigate to the start page of the webapp, usually http://127.0.0.1:8080/axis/, though of course the port may differ.
From the start page, select View the list of deployed Web services. This will list all registered Web Services, unless the servlet is configured not to do so. On this page, you should be able to click on (wsdl) for each deployed Web service to make sure that your web service is up and running.
Axis 2 also has the capability to list available services under an "Available Service" link like http://localhost:8080/axis2/listServices.jsp
[ November 26, 2008: Message edited by: Peer Reynders ]