Specifications

Table Of Contents
Niagara Release 2.3
Revised: May 22, 2002 Niagara Networking & Connectivity Guide
Chapter 2 Configuration and Troubleshooting Tools
Connectivity Troubleshooting Utilities
2–26
or
netstat -n
where -n shows host information with IP addresses instead of names.
Example 2-1 shows an example of
netstat run at a command line of a Windows
2000 host called CLOBBER. It shows client connections open to many servers using
different server-side ports. In this example, CLOBBER is a Web Supervisor and
administration host and Saturn is a JACE-4/5.
Reference line information in the left column is used to facilitate the discussion
which follows the example.
Example 2-1 Netstat utility example.
The following things can be noted about this example:
The protocol for each connection is TCP.
The Local Address column lists the name of the local host (CLOBBER)
followed by the client-side port number opened for the connection.
The Foreign Address column lists the name of the host that CLOBBER is
connected to and the port number opened on the server for the connection.
Sometimes a name is listed rather than the port number. The name is the default
function (as listed in Table 1-10 on page 1-31) associated with the port. For
example, in Line 3, CLOBBER is connected to Saturn via the file transfer
protocol (FTP) on default port 21.
As indicated in line 5, CLOBBER has opened a connection to Saturn using the
Admin Tool on port 3011.
CLOBBER (as a Web Supervisor) is running a Niagara station, but the default
port for the station has been changed to 8080. Lines 7 and 8 indicate that
CLOBBER has opened a browser or the JDE to the local station.
C:\>netstat
Active Connections
Reference Line
Proto Local Address Foreign Address State
1
TCP CLOBBER:4326 intrepid.getresponse.com:http CLOSE_WAIT
2
TCP CLOBBER:4332 Saturn:telnet ESTABLISHED
3
TCP CLOBBER:4397 Saturn:ftp ESTABLISHED
4
TCP CLOBBER:4504 popserv.mrf.mail.rcn.net:pop3 TIME_WAIT
5
TCP CLOBBER:4507 Saturn:3011 TIME_WAIT
6
TCP CLOBBER:4326 Saturn:3011 ESTABLISHED
7
TCP CLOBBER:4484 CLOBBER.tridium.net:8080 ESTABLISHED
8
TCP CLOBBER:4488 CLOBBER.tridium.net:8080 ESTABLISHED