R
R
rumyantseva_yv2020-09-11 09:03:28
open server
rumyantseva_yv, 2020-09-11 09:03:28

How to organize Access to a local site on wordpress from another computer in the local network in OpenServer?

hello. Essence of the question: there is a computer on the local network, Openserver is installed on it and a wordpress site is deployed. Appropriate changes have been made in the openserver settings in the server and alias tabs, the ip of the computer has been entered. The localhost folder has been renamed to mylicalhost, in the wp-config file, similarly, mylocalhost is written instead of localhost. And even after all this, from all the PCs on the network, including the PC on which the site is deployed, when you enter the ip of the local computer with the site in the search bar, an error occurs: "Error establishing a connection to the database."
How can I defeat her please help??

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2020-09-11
@dimonchik2013

Well, and Wordpress - is it loaded by the IP of the computer?
to win - do not be stupid, the base - then, go ahead, is raised on the localhost, and you connect via the IP of the computer to it

T
ThunderCat, 2020-09-11
@ThunderCat

in the wp-config file, similarly, instead of localhost, mylocalhost is written.
bad, it would not hurt at all to understand what you are doing and why, and not by the method of scientific poke everything ... First, find out what localhost is, and check where your database is connected to.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question