Hosts file
Posted by: Redslash (---.adsl.wanadoo.nl)
Date: May 04, 2008 11:12AM

I have a static ip. I can connect to my server on 3 adresses: localhost , 127.0.0.1 , 192.168.1.15 (Static ip)
I have configured my router already and it lets users connect to my computer.
But my computer blocks them so that they can't view my webpage.
So my question: What do I need to put into the hosts file? (like 127.0.0.1 localhost) ?

Options: ReplyQuote
Re: Hosts file
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 04, 2008 11:15AM

they will be using 192.168.1.115 to connect to it...


are u talking about users on the same network?

u can also use ur computer name

if your computer is called MYLAPTOP

then on a different pc on the network in the broswer just type in MYLAPTOP

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Hosts file
Posted by: yfastud (Moderator)
Date: May 04, 2008 04:22PM

You have to use wan ip, not lan ip; check for more info here:

[guides.jlbn.net]

[guides.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Hosts file
Posted by: Redslash (---.adsl.wanadoo.nl)
Date: May 05, 2008 04:56PM

I use my wan ip.. If someone connects to it, then my router will redirect him to my apache server..
But my computer is blocking this connection not my router.. So i think it is the hosts file winking smiley

Options: ReplyQuote
Re: Hosts file
Posted by: yfastud (Moderator)
Date: May 05, 2008 05:07PM


Options: ReplyQuote
Re: Hosts file
Posted by: Redslash (---.adsl.wanadoo.nl)
Date: May 09, 2008 06:15PM

I have followed everything but now if i try to connect to my wan ip i get this:

The waittime for the connection is expired

Options: ReplyQuote
Re: Hosts file
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 09, 2008 06:33PM

you havent set up the forwarding of the port properly. waht router do you have?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.