Remote Browsing and Firewalls for System Administrators
To enable the display of web pages when a firewall exists between desktop computers
and the computer that is hosting SAS, a firewall rule must be added, so the web browser
can connect to SAS. The firewall rule specifies a range of network ports for which SAS
remote browsing connections are allowed. Contact the appropriate system administrator
who can select and configure a range of network ports for remote browsing. The range
depends on the number of simultaneous SAS users. A value of approximately three
times the number of simultaneous SAS users should reserve a sufficient number of
After the firewall rule is added, SAS must be configured to listen for network
connections in the network port range. Normally, SAS selects any free network port, but
the HTTPSERVERPORTMIN and HTTPSERVERPORTMAX system options limit the
network ports that SAS selects. Add these system options to your SAS configuration file.
Set HTTPSERVERPORTMIN to the lowest port in the network range. Set
HTTPSERVERPORTMAX to the highest port in the network range. For example, if the
system administrator defined a network port range of 8000 to 8200, the system options
would be set as follows:
After these system options are set, desktop computers can display web pages. If there is
an insufficient number of ports or if the system options are specified incorrectly, a
message appears in the SAS log.
For more information about these options, see “HTTPSERVERPORTMIN= System
Option” in SAS System Options: Reference and “HTTPSERVERPORTMAX= System
Option” in SAS System Options: Reference.
Using Remote Browsing with ODS Output
The SAS Output Delivery System (ODS) can be used to generate graphical reports of
your SAS data. Remote browsing enables you to view your output directly from a SAS
session either in real time as the output is generated, or on demand from the Results
Remote browsing displays ODS output in PDF and RTF formats. If your browser does
not have the appropriate plug-in for non-HTML data types, the browser displays a dialog
box rather than the output. This dialog box enables you to download the report to your
PC and view it using a local program, such as Excel for an XLS file.
The automatic display of ODS output (PDF and RTF formats) is turned off by default.
You can turn on the automatic display of ODS output by issuing the AUTONAVIGATE
command in the Results window.
Installing the Remote Browser Server
You can install the remote browser server directly from your SAS session. If SAS is
unable to make a connection for remote browsing, SAS displays a dialog box that
contains the URL that you need to download the installer. Use this URL to download
and install the remote browser server. Do not exit SAS. To install the remote browser
server, follow these steps:
1. Type the URL that appears in the dialog box into your web browser and press Enter.
2. After the download page is displayed, download the installer that is appropriate for
3. Run the installer.
Chapter 2 • Interacting with SAS under Windows