Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

xampp over network



11:41 am on Oct 22, 2008 (gmt 0)

10+ Year Member

Wondering if somebody could help me with this please, i have done some searching already but have not come up with an answer.
I have my computer (compA) setup with XAMPP, i access the site on compA using localhost. i would like to be able to access the website from another computer on the network (compB). Now localhost on compB doesnt point to the correct IP address so i assume that i have use a different IP to access the website from compB.

I have shared the htdocs folder (compA) across the network and can access from compB i just cannot get the website to display in a browser. i have gone to /security in the htdocs folder and i have permissions set to anyone across the network can access it.

Thanks for any help.


12:17 pm on Oct 22, 2008 (gmt 0)

10+ Year Member

Disregard this thread. I forgot to set my firewall to accept incoming connections from the relevant IP.



1:13 pm on Oct 22, 2008 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Glad you got it working!

You can use the "hosts" file on your comps to define a domain name for use while testing if you like. Point the domain name on compA (your server) to "localhost" or "" and point the same domain name on compB (client comp) to the LAN IP address of your server.

The location of the hosts file varies, but the filename is always the same regardless of the OS... Just "hosts" - all-lowercase and no file extension.



Featured Threads

Hot Threads This Week

Hot Threads This Month