Go to documentation repository
Previous page Next page
To connect the Client to the Server behind NAT, do the following:
On the Server, set the port range of ports for operation and the router's public IP address (see Network settings utility). By default, the base port is 20111, and the port range is 20111-20210.
Attention!
The router's 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's external IP address and the Server's external base port in the connection settings (see Starting an Axxon Next Client).
Attention!
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).
Attention!
In some cases, in security systems with a complex architecture (NAT, VPN), the Client may not receive events from the Server. To fix this, it is necessary to create the system variable NGP_POLL_EVENTS and set the 1 value to it (see Appendix 10. Creating system variable).
Attention!
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: