User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows NT / 2000 / XP / 2003 section within the Tech Talk category of DaniWeb, a massive community of 427,382 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,037 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows NT / 2000 / XP / 2003 advertiser: Programming Forums
Views: 2502 | Replies: 7
Reply
Join Date: Jul 2004
Posts: 36
Reputation: flowerman is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
flowerman flowerman is offline Offline
Light Poster

Internet blacklists in Windows XP

  #1  
Nov 11th, 2004
There are some website that I can never get. I always get a browser timed out message when I try to get these sites on one specific pc. Other than in the Windows firewall (which I have turned off) are there places in Windows that I should check to see if these sites are on an excluded list? these are business sites not off-color sites by the way. I can get these sites on other PCs on the network and I have tried IE, Netscape and Firefox so I don't think it's a browser issue?

Any ideas? Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Rep Power: 10
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Internet blacklists in Windows XP

  #2  
Nov 11th, 2004
Hello,

Check to see if it is a DNS problem.

Open a command window, and type in "ping x" where x is the name of the website. Then, take the raw numbers it gives you (reply from w.x.y.z) and put that in the web browser. If that works, then the problem is DNS related.

For example:

Open the Command Window.
type in "ping www.daniweb.com"
--> the machine should reply with: Reply from 67.18.73.107
Open a new web browser. In the address box, type in "http://67.18.73.107"
--> the machine should find DaniWeb and show you the homepage.

Of course, leave out the quotes in this example.

If the website draws up just fine, you have a DNS problem. If it does not, you have a routing problem.

Christian
Reply With Quote  
Join Date: Jul 2004
Posts: 36
Reputation: flowerman is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
flowerman flowerman is offline Offline
Light Poster

Re: Internet blacklists in Windows XP

  #3  
Nov 11th, 2004
I can ping the site! (66.150.167.148) When I put the Ip address in the browser, I still get the message "The operation timed out while trying to contact..."

So this is a routing problem?


Originally Posted by kc0arf
Check to see if it is a DNS problem.

Open a command window, and type in "ping x" where x is the name of the website. Then, take the raw numbers it gives you (reply from w.x.y.z) and put that in the web browser. If that works, then the problem is DNS related.

For example:

Open the Command Window.
type in "ping www.daniweb.com"
--> the machine should reply with: Reply from 67.18.73.107
Open a new web browser. In the address box, type in "http://67.18.73.107"
--> the machine should find DaniWeb and show you the homepage.

Of course, leave out the quotes in this example.

If the website draws up just fine, you have a DNS problem. If it does not, you have a routing problem.

Christian
Last edited by DMR : Nov 11th, 2004 at 4:47 pm. Reason: Fixed missing quote tag (aren't I a nice guy?)
Reply With Quote  
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Rep Power: 18
Solved Threads: 339
Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: Internet blacklists in Windows XP

  #4  
Nov 11th, 2004
Originally Posted by flowerman
are there places in Windows that I should check to see if these sites are on an excluded list?

1. In your Internet Options control panel, check the Restricted Sites section under the Security tab.

2. Open your "hosts" file in Windows Notepad. In XP the file resides in the c:\windows\system32\drivers\etc\ folder; in Win 2000 it resides in c:\winnt\system32\drivers\etc\. Aside from some comment lines (lines beginning with the "#" sign) at the beginning of the file, it should usually contain only the following line:

127.0.0.1 localhost

If it contains other lines, especially those which refere to the URLs you can't reach, delete those lines and save the newly-modified file.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing


Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.

However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Reply With Quote  
Join Date: Jul 2004
Posts: 36
Reputation: flowerman is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
flowerman flowerman is offline Offline
Light Poster

Re: Internet blacklists in Windows XP

  #5  
Nov 12th, 2004
DMR - Thank You, Thank You, Thank You!

The site I was having problems with was indeed on the "hosts" file (but not on the restricted list.) I removed it and now, after weeks of tweeks, downloads and optomization, I can get the site to load again.

What is this "hosts" file? Any idea how this site got on it?

Thanks again.

Originally Posted by DMR
1. In your Internet Options control panel, check the Restricted Sites section under the Security tab.

2. Open your "hosts" file in Windows Notepad. In XP the file resides in the c:\windows\system32\drivers\etc\ folder; in Win 2000 it resides in c:\winnt\system32\drivers\etc\. Aside from some comment lines (lines beginning with the "#" sign) at the beginning of the file, it should usually contain only the following line:

127.0.0.1 localhost

If it contains other lines, especially those which refere to the URLs you can't reach, delete those lines and save the newly-modified file.
Reply With Quote  
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Rep Power: 18
Solved Threads: 339
Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: Internet blacklists in Windows XP

  #6  
Nov 12th, 2004
You're welcome; glad we could help.


Originally Posted by flowerman
What is this "hosts" file? Any idea how this site got on it?

Here's an explanation I posted in answer to a similar question an earlier thread:

The entries in the "hosts" file are mappings of host names/URLs to their respective IP addresses. This is essentially like having a small DNS server on your own computer, in that when you type a URL into your browser (or click on a link to a URL on a web page), Windows will look in the hosts file to see if the URL you typed/clicked has a matching IP address there. If so, Windows will direct your browser to that IP address; if not, Windows will then look to your DNS servers to match the URL with an actual IP address. (The use of hosts files was how hostname-to-IP address mapping/resolution was done before DNS was invented.)

The problem with this method is that:

A) By default, Windows will consult the local hosts file before consulting any DNS servers on your network or on the Internet.

B) There is no error checking at all concerning validity of the mappings in your hosts file. You (or someone else) can put any hostname-to-IP mapping entry you want into the hosts file; when your browser encounters that hostname, it will automatically ty to go to the associated IP address listed in hosts.

Just for grins, you can test this yourself.

1. Put the following entry at the end of your hosts file and save the file:

64.233.167.99 www.spooge.com

2. Open a web browser and type this in the location/address box:

http://www.spooge.com

If your browser took you to Google, congratulations- you've just demonstrated what a huge security hole the hosts file presents. :mrgreen:

*Setting the "read only" attribute on the hosts file can keep viruses, hijackers, etc. from making unwanted changes to the file.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing


Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.

However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Reply With Quote  
Join Date: Jul 2004
Posts: 36
Reputation: flowerman is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
flowerman flowerman is offline Offline
Light Poster

Re: Internet blacklists in Windows XP

  #7  
Nov 12th, 2004
Thanks again! It almost takes an inhouse computer guru to workPCs these days.

Originally Posted by DMR
You're welcome; glad we could help.



Here's an explanation I posted in answer to a similar question an earlier thread:

The entries in the "hosts" file are mappings of host names/URLs to their respective IP addresses. This is essentially like having a small DNS server on your own computer, in that when you type a URL into your browser (or click on a link to a URL on a web page), Windows will look in the hosts file to see if the URL you typed/clicked has a matching IP address there. If so, Windows will direct your browser to that IP address; if not, Windows will then look to your DNS servers to match the URL with an actual IP address. (The use of hosts files was how hostname-to-IP address mapping/resolution was done before DNS was invented.)

The problem with this method is that:

A) By default, Windows will consult the local hosts file before consulting any DNS servers on your network or on the Internet.

B) There is no error checking at all concerning validity of the mappings in your hosts file. You (or someone else) can put any hostname-to-IP mapping entry you want into the hosts file; when your browser encounters that hostname, it will automatically ty to go to the associated IP address listed in hosts.

Just for grins, you can test this yourself.

1. Put the following entry at the end of your hosts file and save the file:

64.233.167.99 www.spooge.com

2. Open a web browser and type this in the location/address box:

http://www.spooge.com

If your browser took you to Google, congratulations- you've just demonstrated what a huge security hole the hosts file presents. :mrgreen:

*Setting the "read only" attribute on the hosts file can keep viruses, hijackers, etc. from making unwanted changes to the file.
Reply With Quote  
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Rep Power: 18
Solved Threads: 339
Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: Internet blacklists in Windows XP

  #8  
Nov 12th, 2004
Originally Posted by flowerman
Thanks again!

And again- you're welcome. Glad we could be of help and shed some light on the subject.


Originally Posted by flowerman
It almost takes an inhouse computer guru to workPCs these days.

That's one of those eternal "what comes around, goes around" issues when it comes to computers. Remember that users of early computers, among other cryptic and arcane procedures, had to be taught how to enter their information via punch-cards (and yes, I remember that). :mrgreen:
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing


Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.

However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Windows NT / 2000 / XP / 2003 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Windows NT / 2000 / XP / 2003 Forum

All times are GMT -4. The time now is 4:08 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC