nngdemi
asked on
find what port a program runs
I did a ps -ef|grep web and
saw a web daemon running but
did not know what port it runs.
netstat -a show all the ports
associate with the process.
Is there an easy way to find out
what port is the process/program
use?
saw a web daemon running but
did not know what port it runs.
netstat -a show all the ports
associate with the process.
Is there an easy way to find out
what port is the process/program
use?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i think you misunderstood the question :)
. probably ;-)
If I want to know the port the web daemon is (means "should" as defined in its config files) running on, I also could have checked the config files.
But the last question sound more than a general one: which program uses which port
If I want to know the port the web daemon is (means "should" as defined in its config files) running on, I also could have checked the config files.
But the last question sound more than a general one: which program uses which port