• Hi,

    Just installed WP and it runs fine from localhost.

    But I can’t reach it from any other host.

    As far as I can tell, this isn’t a firewall error. I can reach other applications at /var/www/html/* such as index.html and phpMyAdmon/index.php.

    I’ve searched syslog, auth.log, httpd/access_log, httpd/error_log, mysqlmanager and can’t find any errors or other messages.

    It’s not a router problem either b/c I can’t reach WP from within the LAN other than from localhost.

    And it’s not a php error b/c it does work from localhost.

    Any ideas of what’s wrong or where to look would be greatly appreciated.

    Thanks,

    PP

Viewing 6 replies - 1 through 6 (of 6 total)
  • what are you using to connect to it from localhost?

    https:// <what>

    thats the question that you didnt answer, and the most important one.

    Thread Starter pitterpat

    (@pitterpat)

    is that what you are using to connect to it from outside?

    if so, thats why.

    My localhost, is the box I am on right this second..

    does that give you a clue to the problem?

    what you need to do is use an IP, and you should have set that up when you installed — OR if the IP changes alot than you probably want to use a service like dyndns or such to map your everchanging IP to a non changing domain name.

    and just like the IP, wordpress beed to be made aware via the siteurl setting.

    Thread Starter pitterpat

    (@pitterpat)

    Hi,

    Sorry but I don’t understand that.

    When I’m on localhost I use https://localhost/Wordpress

    When I’m NOT on localhost but still on the LAN I use https://<192.168.x.x>/Wordpress (that’s the LAN side IP of the server).

    When I’m outside of the LAN I use https://<my WAN IP>/Wordpress (of course I substitute my real WAN side ip).

    By comparison, each of the above URL’s works fine if I substitute phpMyAdmin for WordPress.

    What am I missing?

    Thanks,

    PP

    youre missing the fact that you cant have all 3 out of the box like that with WP – thats what. when you installed wordpress, let me guess, you used localhost for the siteurl..

    WP is not phpmyadmin.

    Change it to 192.x.x.x and see if the other 2 dont break unless you have 192.x.x.x in your /etc/hosts file

    Change it to a routable IP and see if they dont all 3 work.

    You can do all three, but to do takes changing a core file, and frankly I dont see why you would want to.

    you could probably also use ipmasqing…

    Thread Starter pitterpat

    (@pitterpat)

    Hi,

    YES! I get it now.

    Thanks!

    PP

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Only reachable from localhost’ is closed to new replies.