remote connection from internet

The remote connect is usually as the following picture:

The Device work as Server model

And the Router/Switch needs a static public IP address. And one port of the Router/Switch communicate with the Device bind though 5010 port .

So in the Device you should set two options: IP address (public IP address) and Port (5010).

In the software you need to type the Device ID and public IP address into the software.

The Device works as Client Server model:

And the Router/Switch also needs a static public IP address.  And one port of the Router/Switch uses the bind 5010 port to communicate with the Software.

So in the Device, there are two options that should be set: Server IP address (public IP address) and Port (5010).

 In the software you need to enter the Device ID. IP address is not needed.