SCOUG-HELP Mailing List Archives
Return to [ 24 | 
July | 
2004 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
=====================================================  
If you are responding to someone asking for help who  
may not be a member of this list, be sure to use the  
REPLY TO ALL feature of your email program.  
=====================================================  
 
Harry Motin wrote:  
 
>Hello,  
>  
>Can anyone help me with information from my running of netstat -s (to see the status of network ports on my system). I got the following readout:  
>  
>--------------------------------------------------------------------------  
>                              AF_INET Address Family:  
>                              Total Number of sockets 7  
>  
>  SOCK   TYPE       FOREIGN          LOCAL         FOREIGN         STATE  
>                     		PORT             PORT            HOST  
>======	=====      ==========      ==========      ==========	========  
>     1	STREAM             0            2868         	0.0.0.0		LISTEN  
>     4	STREAM             0       pop3..110         	0.0.0.0		LISTEN  
>     5	STREAM             0               0         		0.0.0.0		CLOSED  
>     6	RAW               	0               0         		0.0.0.0		RAW  
>  2058	DGRAM               0      bootpc..68         	0.0.0.0		UDP  
>  2067	DGRAM               0               0         		0.0.0.0		UDP  
>  2132	DGRAM               0               0         		0.0.0.0		UDP  
>--------------------------------------------------------------------------  
>                              AF_OS2 Address Family:  
>                              Total Number of sockets 0  
>  
>  
>--------------------------------------------------------------------------  
>                              AF_NB Address Family:  
>                              Total Number of sockets 0  
>  
>  
>[E:\]  
>  
>  
>  
>But I don't know what to do with it. In particular I don't understand what a "Foreign Port" of 0 means. And I don't know what a "Foreign Host" of 0.0.0.0 means. Can anyone help me with this? Thanks muchly.  
>HCM  
>    
>  
Harry,  
I don't know anything about "netstat", but I did run the command on my   
system, in hopes it would be of help.  Here is the output:  
 
[C:\]netstat -s  
--------------------------------------------------------------------------  
                              AF_INET Address Family:  
                              Total Number of sockets 5  
 
  SOCK   TYPE       FOREIGN          LOCAL         FOREIGN         STATE  
                     PORT             PORT            HOST  
======  =====      ==========      ==========      ==========    ========  
     3 STREAM           60148           60149       127.0.0.1  ESTABLISH  
     4 STREAM           60149           60148       127.0.0.1  ESTABLISH  
  2057  DGRAM               0      bootpc..68         0.0.0.0  UDP  
  2066  DGRAM               0               0         0.0.0.0  UDP  
  2079  DGRAM               0               0         0.0.0.0  UDP  
--------------------------------------------------------------------------  
                              AF_OS2 Address Family:  
                              Total Number of sockets 0  
 
 
--------------------------------------------------------------------------  
                              AF_NB Address Family:  
                              Total Number of sockets 0  
 
 
[C:\]  
[C:\]netstat -s  
--------------------------------------------------------------------------  
                              AF_INET Address Family:  
                              Total Number of sockets 5  
 
  SOCK   TYPE       FOREIGN          LOCAL         FOREIGN         STATE  
                     PORT             PORT            HOST  
======  =====      ==========      ==========      ==========    ========  
     3 STREAM           60148           60149       127.0.0.1  ESTABLISH  
     4 STREAM           60149           60148       127.0.0.1  ESTABLISH  
  2057  DGRAM               0      bootpc..68         0.0.0.0  UDP  
  2066  DGRAM               0               0         0.0.0.0  UDP  
  2079  DGRAM               0               0         0.0.0.0  UDP  
--------------------------------------------------------------------------  
                              AF_OS2 Address Family:  
                              Total Number of sockets 0  
 
 
--------------------------------------------------------------------------  
                              AF_NB Address Family:  
                              Total Number of sockets 0  
 
 
[C:\]  
[C:\]netstat -s  
--------------------------------------------------------------------------  
                              AF_INET Address Family:  
                              Total Number of sockets 5  
 
  SOCK   TYPE       FOREIGN          LOCAL         FOREIGN         STATE  
                     PORT             PORT            HOST  
======  =====      ==========      ==========      ==========    ========  
     3 STREAM           60148           60149       127.0.0.1  ESTABLISH  
     4 STREAM           60149           60148       127.0.0.1  ESTABLISH  
  2057  DGRAM               0      bootpc..68         0.0.0.0  UDP  
  2066  DGRAM               0               0         0.0.0.0  UDP  
  2079  DGRAM               0               0         0.0.0.0  UDP  
--------------------------------------------------------------------------  
                              AF_OS2 Address Family:  
                              Total Number of sockets 0  
 
 
--------------------------------------------------------------------------  
                              AF_NB Address Family:  
                              Total Number of sockets 0  
 
 
[C:\]  
=====  
Hope this helps,  
Colin  
 
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-help".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 24 | 
July | 
2004 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
 |