Hi, this is my scenario (everything is within my LAN):
BEFORE
I have my MariaDB in machine 192.168.1.209; I access the MariaDB using windows client DBeaver and works fine.
I had a working ubuntu machine 192.168.1.209 and my Perl scripts could be executed in my local windows browser (192.168.1.xxx) as
http://192.168.1.209/p/index.pl
I also have windows pc clone of p folder in c:/inetpub/wwwroot/p and works fine in browser
http://127.0.0.1/p/index,pl (my local ip connects to MariaDB in 192.168.1.209)
Change Done
I did a LAN-to-WAN to hide all my private info (pc, servers etc) from IoT.
One of the Router 1 (192.168.1.1) LAN is connected to Router's 2 WAN (192.168.2.1). All my IOT's are connected to Router 1 and private PC's, servers etc is connected to Router 2.
AFTER
Now the IP of the MariaDB & Apache Server machine has changed from 192.168.1.209 TO 192.168.2.109. It is still within my LAN.
I pointed my DBeaver to new IP and my mariadb connects fine.
does not work and I get a message as follows in the browser:
This site can’t be reached
192.168.2.109 took too long to respond.
Please note that perl is working fine in 192.168.2.109 (no issues)
From a newbie perspective this something to do with networking or apache2 or both. Not sure, can experts point me how I go about troubleshooting.
Thanks much
vsk