LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   how to ping a port (https://www.linuxquestions.org/questions/aix-43/how-to-ping-a-port-331841/)

khalifah 06-09-2005 08:30 AM

how to ping a port
 
Hi every body....
I want ping a port and I want to see the traffics in a specific port. Can it be done in AIX?

BeSt ReGaRdS

Mark Taylor 06-09-2005 09:41 AM

to see if the port open from another system ? to check firewall or that a proc is listening on that port ?

you can telnet to the port number "tn hostname portnumber"

tn my_host.com 25

If you are on the box, you can check netstat -an and grep for the port number ...

if you have lsof installed, you can also check the port number is associated with a process via lsof -i: port_number

HTH
Mark Taylor


All times are GMT -5. The time now is 09:18 AM.