Hi all,
Sorry for the gullible question, are we able to different incoming / outgoing traffic using netstats ?
It seems like the local traffic is always on the left, and the remote is beside it. but it doesn't state the traffic direction.
or is it that if I have
- a LISTEN entry (e.g. on port 6200) and
- an "ESTABLISHED" entry with the the local traffic address x.x.x.x.6200, foreign address y.y.y.y.1235, it means i have a incoming traffic to port 6200 ?
===============
Right now,
I have 2 servers listening on port 6200 and they are suppose to connect to each other on that port.
NodeA - 192.168.1.27
NodeB - 192.168.1.37
NodeA (192.168.1.27) netstat result
*.6200 *.* 0 0 49152 0 LISTEN
*.6200 *.* 0 0 49152 0 LISTEN
192.168.1.27.44709 192.168.1.37.6200 49460 0 49460 ESTABLISHED
NodeB (192.168.1.37) netstat result
*.6200 *.* 0 0 49152 0 LISTEN
*.6200 *.* 0 0 49152 0 LISTEN
192.168.1.37.6200 192.168.1.27.44709 49460 0 49460 ESTABLISHED
q1) Does it means that Node A is connected to Node B at port 6200.
But Node B IS NOT connected to Node A's 6200 ?
q2) is it possible to LISTEN on the same port for 2 different program? why do i see 2 LISTEN entries ?
Regards,
Noob