Support » Localhost Installs » Local access works but not within my LAN

  • Hi! Wanted to learn how everything works…

    Installed latest “Ubuntu Server” and were able to start an apache server and wanted to install WordPress as well. It worked fine and I can access it from the Ubuntu Server via ‘links’ and “http://localhost/wordpress”

    From my PC I get response from the apache-server by accessing my ubuntu machine via its IP (“It Works!”). However, when trying to reach WordPress via /IP/wordpress from my PC I receive “Error establishing a database connection”.

    It may be a trivial thing but how do I get the wordpress to answer to another computer in my LAN?

    Thanks for any input!

Viewing 1 replies (of 1 total)
  • You cannot use localhost as part of your site url if you want to be able to access the site from other computers in your local network. Every computer defines itself as localhost. You need to use an internal domain name.

Viewing 1 replies (of 1 total)
  • The topic ‘Local access works but not within my LAN’ is closed to new replies.