10 web server, 1 accessing the web server, 2 ports – Alpha Technologies PowerAgent SC3 User Manual

Page 30

Advertising
background image

PowerAgent

TM

SC3 Site Controller

Document # 700-000014-01 Rev 2

Installation and Operation

Phoenix Broadband Technologies, LLC

10/28/2010

Page 30 of 57


5.10 Web Server

The Site Controller contains a Web Server that provides a complete set of Web Pages to observe
and configure the Monitoring System from a Web Browser.

The Web Browser will load a Java applet from the Site Controller when the Web Page is opened.
The applet is used to support the communications between the Web Browser on your PC and the
Site Controller. For this to operate, the Java Runtime Environment (JRE) must be installed on
your PC. This is a common function of many Web Sites so it is likely that the Java Runtime
Environment is already loaded on your PC.

If you need to load the Java Runtime Environment go to the Sun Java Web Site at:

http://java.com/en/download/windows_automatic.jsp

and follow the directions to download and install the latest version of the JRE. This is a free
download.

The Site Controller web server has been tested to work with many versions of the Sun
Java Runtime Environment. Versions of the Java Runtime Environment older than 1.4.2
may not function properly. Most newer versions appear to work properly but occasionally a

version may have a bug that inhibits some feature. Contact PBT if you suspect an incompatibility.

To check which version you are using on your PC open a Microsoft Internet Explorer and select
Tools -> Internet Options -> Advanced. Scroll down to the line that displays Java (Sun). The
version number of the Java Runtime environment installed on your PC will be shown. If this line
is not present the Sun Java Runtime Environment is not installed on your PC.

5.10.1

Accessing the Web Server

To access the Site Controller Web page type: “http://192.168.0.5” from your web browser. This
IP Address is an example, substitute your Site Controller’s IP address in place of “192.168.0.5”.

5.10.2

Ports

The Site Controller Web server uses Ports 80 and 30704 to receive requests from the PC. The
ports on the PC are selected automatically. Port 80 is the normal HTTP port. Port 30704 is used
by the Java applet to get data from the Site Controller for the real time screen updates.

The transaction goes something like this; When the Web browser is opened the PC assigns an
outgoing port X and sends a request to port 80 on the Site Controller. The Site Controller replies
with a response to the PC sent to port X. The java applet opens a connection on PC port Y to
request the real time data and sends this request to Site Controller port 30704. The Site
Controller responds to PC port Y with the requested data.

Both ports X and Y are selected by the PC. These ports may be mapped to other ports by
routers in the communication path. This does not cause any problems since the Site Controller
always responds to the port specified in the request.

If the Web page draws but the applet is unable to connect to the Site Controller chances are good
that port 30704 is being blocked by a firewall or router. This could be on your PC or somewhere
in the network. Consult with your IT people to find the problem.

Advertising