Options

netstat help

w^rl0rdw^rl0rd Member Posts: 329
When I do a netstat I get this...

Proto Local Address Foreign Address State
TCP WAR:1025 WAR:3459 TIME_WAIT
TCP WAR:3302 WAR:8765 TIME_WAIT
TCP WAR:3462 WAR:1025 TIME_WAIT

What is the difference between the local and foreign addresses?

Comments

  • Options
    cheebliecheeblie Member Posts: 288
    The local address is the address and port being used on your system. The foreign address is the address and port of something you're connected to. So say my setup is: local = 192.168.1.100:4544 & foreign = 68.6.19.6:119 (My ISP newsgroup server). This means that I am connected to port 119 on 68.6.19.6 and this connection was established from port 4544 on my local system (192.168.1.100). Notice that the local port does not have to be the same as the remote system. This would be the same for any other service that you might connect to such as HTTP or FTP. I hope that explains things.

    Cheeblie
  • Options
    The_Network_EngineerThe_Network_Engineer Member Posts: 59 ■■□□□□□□□□
    yea i agree as above with him. It simply lists all connections.
    Local is the system port aka your computer. Forgin is a connection orginating in another system from any net access. So yea
Sign In or Register to comment.