I configured a router R1 to work as a repeater, I connected an internet router R2 from an ISP to it (R1). The internet router R2 was assigned a static IP (22.214.171.124) by the ISP.
I run an intranet application that is connected to from R1, I assigned a static IP (192.168.1.5) to the host (PC) which serves as a server for intranet application so that other PCs on the R1 network can reach it using the static IP.
Now, I want to be able to reach the intranet application from the internet. I configured port forwarding on the internet router R2, I set the
internal host to the static IP of the PC acting as a server for the intranet application.
When I try to connect to MySQL from the internet using the static IP (126.96.36.199) from my ISP as host, I get the error
cannot connect to MySQL server at '188.8.131.52' (10061)
What are my doing wrong, and how can I connect the MySQL server?