Ready to get started?Download WordPress


Local access works but not within my LAN (2 posts)

  1. stjoh11
    Posted 6 months ago #

    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!

  2. esmi
    Forum Moderator
    Posted 6 months ago #

    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.


You must log in to post.

About this Topic