Expert answer:
Database server settings
a) Log in to the router
b) Set up port forwarding (virtual server)
c) The operation is shown in the figure:
d) Obtain the WAN IP address, or do domain name binding
e) IP address in running state:
Client connection settings
1. The client pings the server domain name or IP to check if it can be connected
2. As shown in the figure
3. On the login interface of the access control software, click server connection settings, and then enter the server IP address or domain name, as well as the database account and password.
5. The above configuration is completed.