Re: localhost giving problem

From: SQL Server DBA (sqlsdba_at_gmail.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 15:17:51 -0500


"SQL Server DBA" <sqlsdba@gmail.com> wrote in message
news:1109707082.5fa894f609537b1ba2e3d37d057d3898@teranews...
>
> "SQL Server DBA" <sqlsdba@gmail.com> wrote
>>> 1. .
>>> 2. (local)
>>
>> success
>>
>>> 3. 127.0.0.1
>
> sorry. this one too works.???
>
>
> so we have following two commands working
>
> osql -d Master -i file.sql -o file.out -E -S (local)
> osql -d Master -i file.sql -o file.out -E -S 127.0.0.1
>
> but this one fails
> osql -d Master -i file.sql -o file.out -E -S localhost

even IP address works
osql -d Master -i file.sql -o file.out -E -S 170.x.x.x
runs OK.