Accessing localhost on multiple computers [Answered]

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

Accessing localhost on multiple computers [Answered]

Postby jprydd » 18. June 2012 09:48

Hello

I'm currently running the latest version of XAMPP to build a website offline using Drupal. All the XAMPP and associated web files are saved on a server. I have one PC which links to the server directly and can edit the site with no problem. I have a second PC based offsite which accesses the server through a VPN connection. Is there any way I can edit the local site using this second PC. At the moment I'm getting an error message saying the link is broken.

Thanks
jprydd
 
Posts: 4
Joined: 18. June 2012 09:34
Operating System: Windows XP

Re: Accessing localhost on multiple computers

Postby Altrea » 18. June 2012 09:51

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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Accessing localhost on multiple computers

Postby jprydd » 18. June 2012 14:08

Tried to do that but it just seems to bring up the usual homescreen for when you try to connect to the server using VPN (i.e. a 'Welcome to Windows Small Business Server' page).

I read somewhere that you can allow other computers to access the localhost by altering the Apache config file so that it accepts the other computer's IP address???
jprydd
 
Posts: 4
Joined: 18. June 2012 09:34
Operating System: Windows XP

Re: Accessing localhost on multiple computers

Postby JonB » 20. June 2012 16:39

A VPN is NOT a 'remote connection' as far as the client is concerned, you are effectively 'joining' the host network.

see if you can ping the local address of the machine that is hosting XAMPP from the remote computer's Command prompt.
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Accessing localhost on multiple computers

Postby jprydd » 21. June 2012 09:38

Would that be the server, where the website files are stored and where the XAMPP programme files are stored?

Tried that and the request keeps timing out...
jprydd
 
Posts: 4
Joined: 18. June 2012 09:34
Operating System: Windows XP

Re: Accessing localhost on multiple computers

Postby JonB » 21. June 2012 15:20

Would that be the server, where the website files are stored and where the XAMPP programme files are stored? -- "YES"

Tried that and the request keeps timing out...


If the IP you are trying to reach is a Local IP ON THE HOST NETWORK - then you have identified the issue, its a VPN configuration problem.

in such a case the address browser address might be http://192.168.11.201 for instance. You might try adding :80 to the address.

BUT if you can't ping it and it times out, you have a routing issue.

Its possible that kind of tunneling is not enabled or supported, VPN clients are fairly unique to vendors - you should look to the vendor docs or the vendor support site/helpdesk/forum to see if that is supported in your case.

http://en.wikipedia.org/wiki/Virtual_private_network

Is the server exposed though a non-vpn IP? That might be the easiest route.

That's probably all I can offer on this.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Accessing localhost on multiple computers

Postby jprydd » 21. June 2012 15:29

That's great, thanks for the advice. I'll see what I can do
jprydd
 
Posts: 4
Joined: 18. June 2012 09:34
Operating System: Windows XP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests