HELP ERR_CONNECTION_REFUSED

Problems with the Windows version of XAMPP, questions, comments, and anything related.

HELP ERR_CONNECTION_REFUSED

Postby rennanabud » 16. August 2017 21:34

Hi guys,

I installed de WP locally with XAMPP and when I tried to acess from another computer in the same lan, using the IP address and PORT, the page is loaded but not the style, imgs, .js… any files are loaded. But I can normally access the xampp dashboard from any other computer, only the WP pages doesn’t load properly.

When I access from localhost it works perfectly.

– the chrome shows this error in each file when i try to access from another pc through IP:
(failed) net::ERR_CONNECTION_REFUSED,

I don’t know what do any more, anyone could help me please?

OBS.:
– I’m using XAMPP 3.2.2;
– I changed the port to 8888, and I do access the xampp dashboard from outside, so I think the problem is not the port.
– I already turn off the firewall and antivirus;
– I already re-install the xampp and WP;
rennanabud
 
Posts: 1
Joined: 16. August 2017 21:16
XAMPP version: 3.2.2
Operating System: Windows 10

Re: HELP ERR_CONNECTION_REFUSED

Postby Altrea » 16. August 2017 22:04

Hi,

rennanabud wrote:JUST A GUESS but I think apache is blocking the GET method to access the files, but i don't know how it works

wrong. Your wordpress can build asset URLs based on exactly one domain, either localhost or a different one like your LAN IP.
If you installed wordpress as localhost all the asset URLs are based to localhost too and localhost is always the very own computer the request is send from.

rennanabud wrote:- I'm using XAMPP 3.2.2;

No, you are using XAMPP control panel v3.2.2, NOT XAMPP v3.2.2

rennanabud wrote:- I changed the port to 8888, and I do access the xampp dashboard from outside, so I think the problem is not the port.

Changing the port is in 90% of the cases it is used the least preferable.

You should read a few of the sticky threads here. Many of the topics (especially the base information about the XAMPP version number and why changing the Apache ports is mostly not the best idea) is written there.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: aknabe and 262 guests