admin管理员组文章数量:1122846
I'm experiencing a complicated problem that I'm looking for help on.
I have Wordpress served by Apache2 on a Raspberry Pi. I have a domain name with the DNS appropriately pointed to the server. I can view and access the site using the domain name or external IP if I am not accessing from the LAN the Pi is connected to.
But, if I attempt to access the domain from my LAN, I get a connnection refused error from the server.
Here are some things I've tried, and their output:
I've attempted accessing the site with the local address (x.local). Some HTML is served, but the images, themes, and links are all pointed to domain, and do not load.
I've changed the home and siturl in the database to the local address; when accessing x.local,the site loads and works great... but when accessing domain, I get the connection refusal.
I've added an index.html to the root directory, which loads well from x.local and domain. This is one of the reasons I think there is a Wordpress or PHP problem, not a port forwarding, DNS, or other networking problem.
Any additional suggestions?
Running PHP 8.2, Apache 2.4, and Wordpress 6.5.3.
本文标签: phpConnection refused by Wordpress
版权声明:本文标题:php - Connection refused by Wordpress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306572a1933006.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论