Re: Access Localhost from a remote computer?
From: Bernard (qbernard_at_hotmail.com.discuss)
Date: Mon, 2 Aug 2004 12:52:36 +0800
I would say bad ideas to change the host file just to achieve this.
It looks like to me, the order of name resolution didn't read the host file.
have you try the actual machine ip or netbios name ?
or even check the iis log file to see the remote machine is REALLY
connecting to your IIS ?
-- Regards, Bernard Cheah http://www.tryiis.com/ http://support.microsoft.com/ http://www.msmvps.com/bernard/ "Tyler Carver" <firstname.lastname@example.org> wrote in message news:email@example.com... > I should have been a little bit more clear. For software development > reasons I want to access the Server 2003 box using explicitly > http://localhost. I am aware that I can use nearly any other word > instead of localhost and set my host file to point to the server and > setup a website with that host header value. For instance I can > easily set up http://test as my web site and access it fine by adding > an entry into my XP Pro box's host file. > > Localhost by default uses the 127.0.0.1 to direct itself to the same > box. I can ofcourse change it to point to the IP of my server, and > this works. What I don't know is why my server will not accept the > connection. I would think this is another default that I can change. > > Thanks for any help. > Tyler > > > firstname.lastname@example.org (Tyler Carver) wrote in message news:<email@example.com>... > > For software development reasons I want to access a Web site set up as > > the localhost on Server 2003 from an XP Pro box. > > > > I set a new Web site with host headers as localhost and verify I can > > access this from the IIS box. I think set my host file to point > > localhost to the IP address of the Server 2003 box. I then type > > http://localhost to access this site from the XP Pro box. > > > > The connection goes out to the Server box but then I get a connection > > refused. If I just change from using local host to 'test' then > > everything works fine. I want to use localhost however. > > > > Any suggestions? > > > > > Thanks, > > Tyler