Page 1 of 1

knowing the number of busy ports in my machine

Posted: Thu Aug 06, 2009 6:30 am
by susrisha
Hello..
I want to know the list of all the ports that are in usage for my system. Can i make it possible through web support?
Here is my problem:
My apache runs on port 9090
I have say another process which is running on port 10000 and one more at 10001
I want to know if the port 10000 is busy or not using a web script.
Can someone guide me through this?
A simple direction will be enough. I am using Apache in a Windows machine.

Re: knowing the number of busy ports in my machine

Posted: Thu Aug 06, 2009 6:37 am
by Benjamin
You could try grabbing the output of netstat via a system call.