Cannot access Wordpress on LAN computers.


  • | 3038 points

    On the computer where Laragon is installed I can access the WordPress installations by typing 192.168.1.20/xxx Where xxx is the name of the WordPress install.

    On other computer on the LAN I can ping 192.168.1.2, and when I enter 192.168.1.20 I see the Laragon screen. But, when I enter 192.168.1.20/xxx, after a few seconds the typed in address changes to https://localhost/xxx and it says that it is unable to connect.

    Any ideas?


  • | 3038 points

    For hours, I've been searching for a solution for this and it really has me stumped.

    I can ping the host 192.168.1.20 and, as stated, I see the Largon screen when I enter that address into the browser. But, I just cannot access the WordPress sites at all.

    It keeps changing the entered URL from: http://198.162.1.20/test to: https://localhost/test and says, "Unable to connect".


  • | 3038 points

    Found it.

    In one of the WordPress installations, in the wp-options table, the site URL was set to localhost instead of http:\

    I don't ever recall setting it WP so a mistake somehow was made when I did the WP install.

    What confused me was that I used the WP instance on the install computer for some months, and, since it was looking for localhost and finding it, there was never a problem. Only when I tried to log into it on another network computer did the problem pop up.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.