configuring Xampp with IP in localhost

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

configuring Xampp with IP in localhost

Postby argie01 » 22. January 2017 18:12

Hi,

currently I have Xampp installed in my Windows, in localhost.
And when I get a web I use an url like this: http://localhost/web1

Problem is I can't access to that web using other device in the same LAN. So, how should I configure Xampp to run using and IP like 192.168.1.4??

Thank you.
argie01
 
Posts: 29
Joined: 19. July 2004 19:17

Re: configuring Xampp with IP in localhost

Postby Nobbie » 22. January 2017 18:34

There is nothing to. Xampp (Apache) is running (i.e. "LISTENING") on all local IPs out of the box.
Nobbie
 
Posts: 9562
Joined: 09. March 2008 13:04

Re: configuring Xampp with IP in localhost

Postby argie01 » 23. January 2017 19:17

Well, I have a Wordpress running inside Xampp in localhost, and I was unable to access it using

http://ip-of-PC/wordpress

Once my phone browser try to load that url it suddenly change to

http://localhost/wordpress

and it can't be loaded.

Thank you for your help.
argie01
 
Posts: 29
Joined: 19. July 2004 19:17

Re: configuring Xampp with IP in localhost

Postby Nobbie » 23. January 2017 19:38

argie01 wrote:Once my phone browser try to load that url it suddenly change to

http://localhost/wordpress


Of course, because you made a severe error when installing WordPress. You have been asked for a Servername and you applied "localhost" - therefore WordPress redirects and links everything to "localhost". Meanwhile you see, what that means. You should have applied "ip-of-PC" instead, if you are planing to call it via Ip-of-PC.

As this obviously is not a Xampp issue, but a pure and plain WordPress issue, i suggest asking in a WordPress forum for more support.
Nobbie
 
Posts: 9562
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests