我已在 Ubuntu 机器上安装了 LAMP 服务器和 WordPress,以便在本地主机上运行 WordPress。我已经完成了 WordPress 设置并获得了 WP-admin 登录,但当我离线并尝试运行 localhost/WordPress/WP-admin 时,它显示以下错误:
Unable to connect
Firefox can't establish a connection to the server at 192.168.30.225.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
每当我上网时,localhost 都能正常运行。