[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a question on "netstat"s output



At 01:12 AM 5/7/00 -0700, t s a d i wrote:
>Active Internet connections (w/o servers)
>Proto Recv-Q Send-Q Local Address           Foreign Address         State      
>tcp        0  39595 bangus.myphilippine:www ME21-66.i-manila.c:1520
ESTABLISHED 
>tcp        0    201 bangus.myphilippine:www 210.23.110.23:1129
ESTABLISHED 
>tcp        0  20091 bangus.myphilippine:www 203.177.21.243:1551
ESTABLISHED 
>tcp        0  25491 bangus.myphilippine:www cisco8-s1.pacific:56495
ESTABLISHED 

The "local address" side shows your ip/FQDN:port and the "foreign address"
side shows the remote side ip/FQDN:port.  So in line 1, a connection is
established between bangus's port www and ME21-66's port 1520.  The www part
is the system's translation of the port number to show what service is
connected to the remote side.  It can also show telnet, ftp, etc, or the
actual port number.

Try man netstat.

+-------------------------------------------------------------------+
|        -=I T ' S  P R I N C I P L E  T H A T  C O U N T S=-       |
|=-                  -=ALAN KEYES FOR PRESIDENT=-                 -=|
| Balanced Budgets     Personal Freedoms     Morality     Lower Tax |
|=--                  http://www.Keyes2000.com.                  --=|
+???????????????????????????????????????????????????????????????????+


Reply to: