How to work with unavailable devices using a proxy server and a proxy client

Chapter 56. How to work with unavailable devices using a proxy server and a proxy client

9.7

Revision History
29.09.2017
First edition
19.10.2017
The introduction was rewritten

If the computers of the segment are connected to different local networks, a situation can occur where the computer and its devices can connect to the segment server, while the segment server cannot connect to this computer or its devices. For example, the app server print manager tries to access the printer or the POS terminal wants to connect to the fiscal register.

When a device can connect to the segment server, but the segment server cannot connect to this device, you need to use auxiliary devices with the Proxy server and Proxy client software modules. For each device to which the segment server can connect, create a Proxy server and a Proxy client. These devices will bridge the gap between the local networks where they are started.

Figure 56.1. Data exchange between the devices and segment server


Let us look at an example of connecting devices to the segment server via proxy servers. Here are the initial conditions:

Let's say that at our point of sale, we have a POS terminal and a ticket printer. Each device is in a separate local network—connected to its own router.

In this situation, the devices can connect to the cloud server, but the server does not see the devices from a different network. We need to ensure the application server print manager has access to the POS terminal and printer.

Figure 56.2. Equipment connection diagram