Appendix A Network Troubleshooting

Use the -a parameter to display all possible connections to your device, not just the ones that are currently in use:

C:\>netstat -a

Active Connections

Proto

Local Address

Foreign Address

State

TCP

COMPUTERA:http

COMPUTERA:0

LISTENING

TCP

COMPUTERA:http

172.16.x.x:4036

ESTABLISHED

TCP

COMPUTERA:2744

NAS:microsoft-ds

ESTABLISHED

TCP

COMPUTERA:5152

172.16.x.x.ZyXEL.com:0

LISTENING

TCP

COMPUTERA:5152

localhost:4067

CLOSE_WAIT

TCP

COMPUTERA:5354

172.16.x.x.ZyXEL.com:0

LISTENING

TCP

COMPUTERA:27015

172.16.x.x.ZyXEL.com:0

LISTENING

TCP

COMPUTERA:40000

localhost:0

LISTENING

TCP

COMPUTERA:40000

localhost:1120

ESTABLISHED

TCP

COMPUTERA:netbios-ssn

172.16.x.x.ZyXEL.com:0

LISTENING

TCP

COMPUTERA:4177

172.16.x.x:1155

ESTABLISHED

TCP

COMPUTERA:4178

172.16.x.x:1155

ESTABLISHED

TCP

COMPUTERA:4180

172.16.x.x:1155

ESTABLISHED

TCP

COMPUTERA:4182

172.16.x.x:1025

ESTABLISHED

TCP

COMPUTERA:4317

NAS:microsoft-ds

ESTABLISHED

TCP

COMPUTERA:4539

NAS:microsoft-ds

TIME_WAIT

TCP

COMPUTERA:netbios-ssn

172.16.x.x:0

LISTENING

TCP

COMPUTERA:netbios-ssn

172.16.x.x:0

LISTENING

C:\>

 

 

 

The following table describes the three entries in the output example above:

Table 142 netstat -a Command Output

OUTPUT

DESCRIPTION

TCP

A web server is available on COMPUTERA as an HTTP

COMPUTERA:http

service is in a LISTENING state.

COMPUTERA:0

 

LISTENING

 

TCP

A computer with an IP address of 172.16.1.29 is accessing

COMPUTERA:http

the web service on the COMPUTERA.

172.16.1.29:4036

 

ESTABLISHED

 

TCP

COMPUTERA has established a TCP/IP NETBIOS

COMPUTERA:2744

connection (microsoft-ds) with a NAS device.

NAS:microsoft-ds

 

ESTABLISHED

 

414

 

P-2812HNU-51c User’s Guide