Page 1 of 1

Installed xampp, how to test php over a LAN?

PostPosted: 14. March 2011 18:21
by fiftyeight
Hi, I installed xampp on by brothers computer so I can test php scripts there,
if I type http://localhost/index.html on his PC it works and shows the page.
I can access the files on his computer over the LAN, I see his PC
in Network Connections and can insert files to the xampp folder,
but if I type http://localhost/index.html on my PC it doesn't work,
we both have the same IP since it's a LAN, he has windows 7
and I have windows XP, I am on workgroup MSHOME and he is
on workgroup WORKGROUP, are any of there related?
how can I connect to his server from my PC?

Re: Installed xampp, how to test php over a LAN?

PostPosted: 14. March 2011 19:15
by DC80
You need your internal IP. You can find it on your brothers computer.

Go to start then type cmd and hit enter.

In the command prompt type ipconfig and hit enter. There you see a IPv4 address. You need to type it in your browser on your own computer.

You can't have the same IP address because that would conflict on the LAN.