This section describes some example architectures applied for web-based solutions and provides information on how to configure the project for each architecture. This section does not describe all possible architectures, but it provides the concepts necessary to design and configure different scenarios based on the basic architectures illustrated below
Setting | Description |
---|---|
Data Server IP Address |
When the Web Tunneling Gateway is disabled: The Thin Client Control (ISSymbol) uses the Data Server IP Address to connect to the IWS TCP/IP Server Task. When the Web Tunneling Gateway is enabled: The Web Tunneling Gateway uses the Data Server IP Address to connect to the IWS TCP/IP Server Task. |
Secondary Data Server IP Address | Same as the Data Server IP Address. However, the Secondary IP Address is used only when the connection with the Data Server IP Address fails. |
Web Tunneling Gateway IP Address | The Thin Client Control (ISSymbol) uses the Web Tunneling Gateway IP Address to connect to the Web Tunneling Gateway. |
Web Tunneling Gateway Secondary IP Address | Same as the Web Tunneling Gateway IP Address. However, the Web Tunneling Gateway Secondary IP Address is used only when the connection with the Web Tunneling Gateway IP Address fails. |
Term | Description |
---|---|
LAN | Local Area Network (for example, Intranet) |
WAN | Wide Area Network (for example, Internet) |
Server |
Station where the following components are running:
Although IWS does not need to run in the same station where the other components are running, the following examples assume that it is. |
Thin Client LAN | Thin Client station (Web Browser + ISSymbol control) that connects the Server via the LAN. |
Thin Client WAN | Thin Client station (Web Browser + ISSymbol control) that connects the Server via the WAN. |
IP_SERVER_LAN | IP Address of the Server on the LAN. |
IP_SERVER_WAN | IP Address of the Server on the WAN. |
IP_ROUTER_LAN | IP Address of the Router on the LAN. |
IP_ ROUTER_WAN | IP Address of the Router on the WAN. |
ScreenName | Name of the project screen, saved as HTML, that is open on the Thin Client station. |
This is the very common architecture, as well as the simplest to configure. In this architecture, both the Web Server (e.g., Microsoft IIS) and the Data Server (i.e., the IWS TCP/IP Server module) are running on the same PC. The Thin Client connects to the Web Server to download the HTML screen file(s). Then it connects to the Data Server to exchange data with the IWS runtime project. Since both the Thin Client and the Server station are connected to the same network, the Thin Client can access the Server station directly through its IP address (or host name).
Setting | WTG Enabled | Web Gateway Disabled |
---|---|---|
Data Server IP Address | IP_SERVER_LAN | IP_SERVER_LAN |
Secondary Data Server IP Address | - | - |
Web Tunneling Gateway IP Address | IP_SERVER_LAN | - |
Web Tunneling Gateway Secondary IP Address | - | - |
This architecture has both the Web Server (e.g., Microsoft IIS) and the Data Server (i.e., the IWS TCP/IP Server module) running on the same PC. Thin Clients can connect to the Server through either an Intranet (LAN) connection to the Server or an Internet (WAN) connection to the Server (e.g., two different Ethernet ports).
Setting | Web Gateway Enabled | Web Gateway Disabled |
---|---|---|
Data Server IP Address | IP_SERVER_LAN | IP_SERVER_LAN |
Secondary Data Server IP Address | IP_SERVER_LAN | IP_SERVER_WAN |
Web Tunneling Gateway IP Address | IP_SERVER_LAN | - |
Web Tunneling Gateway Secondary IP Address | IP_SERVER_WAN | - |
This architecture has both the Web Server (e.g., Microsoft IIS) and the Data Server (i.e., the IWS TCP/IP Server module) running in the same PC. Thin Clients can connect to the Server through either an Intranet (LAN) connection or an Internet (WAN) connection. There is a Router between the Intranet (LAN) and the Internet (WAN).
Setting | Web Gateway Enabled | Web Gateway Disabled |
---|---|---|
Data Server IP Address | IP_SERVER_LAN | IP_SERVER_LAN |
Secondary Data Server IP Address | IP_SERVER_LAN | IP_ROUTER_WAN |
Web Tunneling Gateway IP Address | IP_SERVER_LAN | - |
Web Tunneling Gateway Secondary IP Address | IP_ROUTER_WAN | - |
If the Web Gateway is enabled, only the HTTP Port (80, by default) or the HTTPS Port (SSL Port 443, by default) must be forwarded from IP_ROUTER_WAN to the IP_SERVER_LAN.
If the Web Gateway is disabled, both the HTTP Port (80, by default) and the Studio TCP/IP Server Port (1234, by default) must be forwarded from IP_ROUTER_WAN to the IP_SERVER_LAN. Consult the Router documentation for further information about how to configure Port Forwarding on it.