PC Review


Reply
Thread Tools Rate Thread

Trouble with hosts file - am I doing this right?

 
 
Peter Hucker
Guest
Posts: n/a
 
      6th Aug 2004
My hosts file contains only (after the instructions that come with it):

127.0.0.1 localhost
64.246.46.90 127.0.0.1

Where 64.246.46.90 is a server I never want to connect to (it's actually an advertising server for popups or something, which is unreliable, so I keep getting dialogs saying couldn't connect)

But the second line in hosts is not doing anything, as shown in the tests below:

---------------

C:\>ping www.impressionz.co.uk

Pinging www.impressionz.co.uk [64.246.46.90] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 64.246.46.90:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms


--
*****TWO BABY CONURES***** 15 parrots and increasing http://www.petersparrots.com
93 silly video clips http://www.insanevideoclips.com
1259 digital photos http://www.petersphotos.com
Served from a pentawatercooled dual silent Athlon 2.8 with terabyte raid

"Computers in the future may weigh no more than 1.5 tons." -- Popular Mechanics, 1949
 
Reply With Quote
 
 
 
 
Tom Porterfield
Guest
Posts: n/a
 
      6th Aug 2004
Peter Hucker wrote:

> My hosts file contains only (after the instructions that come with it):
>
> 127.0.0.1 localhost
> 64.246.46.90 127.0.0.1
>
> Where 64.246.46.90 is a server I never want to connect to (it's actually
> an advertising server for popups or something, which is unreliable, so I
> keep getting dialogs saying couldn't connect)
>
> But the second line in hosts is not doing anything, as shown in the
> tests below:
>
> ---------------
>
> C:\>ping www.impressionz.co.uk
>
> Pinging www.impressionz.co.uk [64.246.46.90] with 32 bytes of data:
>
> Request timed out.
> Request timed out.
> Request timed out.
> Request timed out.
>
> Ping statistics for 64.246.46.90:
> Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
>
> C:\>ping 127.0.0.1
>
> Pinging 127.0.0.1 with 32 bytes of data:
>
> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>
> Ping statistics for 127.0.0.1:
> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
> Approximate round trip times in milli-seconds:
> Minimum = 0ms, Maximum = 0ms, Average = 0ms
>
>


Hosts translates string to IP address, not IP to IP. So in hosts you
would need to place entries such as:

127.0.0.1 ns1.hostupa.com
127.0.0.1 www.impressionz.co.uk
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
Reply With Quote
 
Sooner Al
Guest
Posts: n/a
 
      6th Aug 2004
In addition, you may be interested in this hosts file from the MVP.org site. I use it on both of my
XP boxes at home...

http://mvps.org/winhelp2002/hosts.htm

--
Al Jarvi (MS-MVP Windows Networking)

Please post *ALL* questions and replies to the news group for the mutual benefit of all of us...
The MS-MVP Program - http://mvp.support.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights...

"Tom Porterfield" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Peter Hucker wrote:
>
>> My hosts file contains only (after the instructions that come with it):
>>
>> 127.0.0.1 localhost
>> 64.246.46.90 127.0.0.1
>>
>> Where 64.246.46.90 is a server I never want to connect to (it's actually an advertising server
>> for popups or something, which is unreliable, so I keep getting dialogs saying couldn't connect)
>>
>> But the second line in hosts is not doing anything, as shown in the tests below:
>>
>> ---------------
>>
>> C:\>ping www.impressionz.co.uk
>>
>> Pinging www.impressionz.co.uk [64.246.46.90] with 32 bytes of data:
>>
>> Request timed out.
>> Request timed out.
>> Request timed out.
>> Request timed out.
>>
>> Ping statistics for 64.246.46.90:
>> Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
>>
>> C:\>ping 127.0.0.1
>>
>> Pinging 127.0.0.1 with 32 bytes of data:
>>
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>>
>> Ping statistics for 127.0.0.1:
>> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
>> Approximate round trip times in milli-seconds:
>> Minimum = 0ms, Maximum = 0ms, Average = 0ms
>>
>>

>
> Hosts translates string to IP address, not IP to IP. So in hosts you would need to place entries
> such as:
>
> 127.0.0.1 ns1.hostupa.com
> 127.0.0.1 www.impressionz.co.uk
> --
> Tom Porterfield
> MS-MVP MCE
> http://support.telop.org
>
> Please post all follow-ups to the newsgroup only.


 
Reply With Quote
 
Peter Hucker
Guest
Posts: n/a
 
      7th Aug 2004
On Fri, 06 Aug 2004 10:41:24 -0400, Tom Porterfield <(E-Mail Removed)> wrote:

> Peter Hucker wrote:
>
>> My hosts file contains only (after the instructions that come with it):
>>
>> 127.0.0.1 localhost
>> 64.246.46.90 127.0.0.1
>>
>> Where 64.246.46.90 is a server I never want to connect to (it's actually
>> an advertising server for popups or something, which is unreliable, so I
>> keep getting dialogs saying couldn't connect)
>>
>> But the second line in hosts is not doing anything, as shown in the
>> tests below:

>
> Hosts translates string to IP address, not IP to IP. So in hosts you
> would need to place entries such as:
>
> 127.0.0.1 ns1.hostupa.com
> 127.0.0.1 www.impressionz.co.uk


DOH! I must have been half asleep and not read the instructions!


--
*****TWO BABY CONURES***** 15 parrots and increasing http://www.petersparrots.com
93 silly video clips http://www.insanevideoclips.com
1259 digital photos http://www.petersphotos.com
Served from a pentawatercooled dual silent Athlon 2.8 with terabyte raid

The best parliament is a well-hung one?
 
Reply With Quote
 
Peter Hucker
Guest
Posts: n/a
 
      7th Aug 2004
On Fri, 6 Aug 2004 10:20:38 -0500, Sooner Al <(E-Mail Removed)> wrote:

> In addition, you may be interested in this hosts file from the MVP.org site. I use it on both of my
> XP boxes at home...
>
> http://mvps.org/winhelp2002/hosts.htm


That is a LOT of addresses! Thanks!


--
*****TWO BABY CONURES***** 15 parrots and increasing http://www.petersparrots.com
93 silly video clips http://www.insanevideoclips.com
1259 digital photos http://www.petersphotos.com
Served from a pentawatercooled dual silent Athlon 2.8 with terabyte raid

A lawyer is an expert on justice in much the same way your average hooker is an expert on love.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble assigning network ip numbers from hosts file dba Windows XP Networking 2 18th Oct 2007 02:53 AM
Trouble renaming/replacing HOSTS file in ETC. =?Utf-8?B?UG93ZXJsb2Nr?= Windows XP General 5 31st Dec 2005 02:51 AM
Re: Trouble with hosts file - am I doing this right? Peter Hucker Windows XP Help 0 7th Aug 2004 08:33 PM
Trouble with hosts file - am I doing this right? Peter Hucker Windows XP General 5 7th Aug 2004 08:33 PM
Re: Trouble with hosts file - am I doing this right? Peter Hucker Windows XP Help 0 7th Aug 2004 08:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 AM.