[Mono-list] localhost vs. ip address

Jonathan Stowe jns@gellyfish.com
Thu, 21 Oct 2004 09:48:54 +0100


On Thu, 2004-10-21 at 00:11, Amrit Kohli wrote:
> I tried that and the output is this:
> 
> D:\DOCUME~1\AMRITK~1>nslookup localhost
> *** Can't find server name for address 192.168.2.1: No information
> *** Default servers are not available
> Server:  UnKnown
> Address:  192.168.2.1
> 
> *** No address (A) records available for localhost
> 
> D:\DOCUME~1\AMRITK~1>nslookup 127.0.0.1
> *** Can't find server name for address 192.168.2.1: No information
> *** Default servers are not available
> Server:  UnKnown
> Address:  192.168.2.1
> 
> *** No address (A) records available for 127.0.0.1
> 
> ----
> 
> How does one fix this?
> 

Your DNS settings are broken.  I think you might be better off asking on
a windows specific forum.  In the first instance however you should make
a %WINDIR%\system32\drivers\etc\hosts file
with

127.0.0.1	localhost

in it

/J\
> Thanks, 
> 
> Amrit
> ----
> Amrit Kohli
> amrit@wayne.edu
> 
> 
> -----Original Message-----
> From: hanasaki [mailto:hanasaki@hanaden.com] 
> Sent: Wednesday, October 20, 2004 7:03 PM
> To: mono-list@lists.ximian.com
> Subject: Re: [Mono-list] localhost vs. ip address
> 
> do a "nslookup localhost" and "nslookup 127.0.0.1" from a shell command 
> line.  localhost should equal 127.0.0.1 If it doesn't, thats the 
> culprit.  If it does... not sure...
> 
> Amrit Kohli wrote:
> > Hello,
> > 
> >  
> > 
> > I have installed Visual Studio .NET on my Windows 2000 system.  When I 
> > try to create an ASP.NET Web Service solution for C#, I get the 
> > following error message when I try to use the location of 
> > "http://localhost/WebService1":
> > 
> >  
> > 
> > Visual Studio .NET has detected that the specified Web server is not 
> > running ASP.NET version 1.1.  You will be unable to run ASP.NET Web 
> > applications or services.
> > 
> >  
> > 
> > I don't get this error when I type in the actual IP address of my server 
> > instead of "localhost".  I have successfully installed ASP.NET.  What 
> > alias could my web server be using if not "localhost"?  Is there a way I 
> > can set the alias for my web server using IIS?
> > 
> >  
> > 
> > Thanks,
> > 
> >  
> > 
> > Amrit
> > 
> >  
> > 
> > ----
> > 
> > Amrit Kohli
> > 
> > amrit@wayne.edu
> > 
> >  
> > 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/