Connecting Tech Pros Worldwide Forums | Help | Site Map

problem in hosting site over LAN

Member
 
Join Date: Jul 2007
Location: Presenly Allahabad, India
Posts: 51
#1: Apr 24 '09
Hi,
I'm not sure whether this is the correct place to ask this question.
I have installed easyphp 3.0 and hosted on my local computer. I needed it to host over a LAN. With easyphp I can see the site using http://localhost or http://127.0.0.1 only. I'm not able to view the site from anywhere else.
My PC has an static IP 172.31.72.77. If I try to open this page http://172.31.72.77 in my own PC, then also it doesn't work. It says the connection was reset or something like that.

And then I tried hosting the site on linux. It shows a different type of problem. http://localhost does work, but http://127.0.0.1 and http://172.31.72.77 don't work at all. It says "Your browser sent a request that this server couldn't understand."

Can anybody help me solve this problem please ?
Thank You



Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,938
#2: Apr 24 '09

re: problem in hosting site over LAN


I should have moved this to apache.

You might be better off asking on a EasyPHP forum.
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#3: Apr 24 '09

re: problem in hosting site over LAN


Is that server known all over the network by that static IP? Can you ping it?

Oh, and http://127.0.0.1 is just another way of writing http://localhost - both always mean the computer you're just working at.

Greetings,
Nepomuk
Member
 
Join Date: Jul 2007
Location: Presenly Allahabad, India
Posts: 51
#4: Apr 25 '09

re: problem in hosting site over LAN


Quote:

Originally Posted by Nepomuk View Post

Is that server known all over the network by that static IP? Can you ping it?

Yes, of course I can ping the server. The problem is it isn't working even on same server. If I open http://172.31.72.77 on same server, it won't work. But http://localhost does work.

Thanks
Reply