To connect the Client to the Server behind NAT, do the following:
On the Server, set the port range for operation. By default, the base port is 20111, and the port range is 20111-20210 (see Ports used by the Axxon One Software Package).
Open the port range 57000–60000 on the Server (see Ports used by the Axxon One Software Package).
If you do not open the port range 57000–60000 on the Server, there will be a problem with receiving the events to the Client from the Server. To solve the problem, create the NGP_POLL_EVENTS system variable on the Client and set its value to 1 (see Appendix 10. Creating system variable). |
Set the router public IP address (see Network settings utility).
The router public IP address should be static. |
On the router, forward the specified Server ports and the gRPC API 20109 port.
Launch the Client and specify the router external IP address and the Server external base port in the connection settings (see Starting an Axxon One Client).
When connecting the Client from an external network, only those Servers that have access to the external network will be available in the Axxon domain configuration (see Consolidating the Servers from different networks into Axxon domain). |
In a failover system, it is not possible to connect to the node that is behind NAT (see Connecting to a Node and Configuring of an Axxon domain). |
Example.
To connect the Client to the Servers behind NAT, do the following: