Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Security Center > General Computer Security
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


General Computer Security Get Help With System Security - This forum is not for malware removal assistance. For malware removal assistance, read the sticky topic at the top of the Virus/Trojan/Spyware Help forum, or the "First Steps" link at the top right of each page.

Reply
 
LinkBack Thread Tools
Old 06-28-2007, 05:28 AM   #1 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
[SOLVED] Host File

Hello ,
I wanted to block a website on my parents computer, and I went to open up the Hosts file. And I saw two hosts file one called HOST and the other host2, and too my knowledge i thought there was only meant to be one?
There was also another strange Host file in the folder it was called Host.ics, does anyone know what this is?

Also I was unable to block Myspace. I tested it out I could block google fine and other websites just not Myspace.com

Here is what I typed in for it:
127.0.0.1 www.myspace.com

And for google I had:
127.0.0.1 www.google.com

Any help would be great.
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 06-28-2007, 12:34 PM   #2 (permalink)
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
 
Glaswegian's Avatar
 
Join Date: Sep 2005
Location: Glasgow
Posts: 25,389
OS: Win XP Pro SP3 / Win 7 Pro

My System

Blog Entries: 10
Re: Host File

Hi Alex

The .ics is just a text file with calendar information. the second Hosts file is likely a backup - you can open it with Notepad and check the contents.

I have myspace in my Hosts file and Firefox won't let me go there. Have you re-booted and tried again?
__________________
Iain - Defender of the Haggis and all things Scottish.
I don't help by PM - post in the Forums.



PC Safety & Security::PC running a bit slow?::Donate::Photographers Corner
Glaswegian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-28-2007, 03:42 PM   #3 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

Hi Iain and thanks for your reply.

I opened up the second Host file. There were some nasties in there.

My Parents use IE6. I tried rebooting and it did not work?
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-28-2007, 04:22 PM   #4 (permalink)
Moderator Hardware Team
 
koala's Avatar
 
Join Date: Mar 2005
Location: UK
Posts: 12,317
OS: XP/7/Ubuntu

My System

Re: Host File

Open the HOSTS file in Notepad. Save a backup, then delete all entries except for 127.0.0.1 localhost. Save the file (make sure you don't save as *.txt) and reboot.
__________________

New members: Subscribe to your thread (Thread Tools) to
receive an instant email notification when you get a reply.

TSF Folding@Home Team 85015 - details here
koala is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-28-2007, 04:42 PM   #5 (permalink)
Roaming To Help
 
Join Date: Nov 2006
Posts: 5,642
OS: Many


Re: Host File

I've actually blocked MySpace just 2 days back, though using SurfControl I have it blocked anyway, but just in case. It works here too.

The HOSTS file is loaded in random access memory many times for ease.

You can block the site in your firewall too BTW.

Type the above as koala stated in the HOSTS file. Try leaving 2 gaps after 127.0.0.1 as so:

127.0.0.1 www.myspace.com
Kalim is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-29-2007, 12:50 AM   #6 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

Thanks Koala and Kalim. I have removed the nasties.

I did put in more spaces just when I typed it out on here and sent in the post it went straight back to one space.
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-29-2007, 01:13 AM   #7 (permalink)
Roaming To Help
 
Join Date: Nov 2006
Posts: 5,642
OS: Many


Re: Host File

Alex

The HOSTS file is supposed to contain "nasty" sites inside, because those are all the sites it will block.

You can have SpybotS&D entries and the MVPS HOSTS file both integrated into one another, aswell as any custom sites you'd like to block. Very effective TBH.

There will also be another HOSTS backup file created there as Iain advised earlier, BTW.

Did blocking myspace work this time?
Kalim is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-29-2007, 01:19 AM   #8 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

Sorry If i was unclear they were entries that were not meant to be there.

I am trying a tool out now. And I will report how it goes.
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-29-2007, 02:10 AM   #9 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

All done it is now blocked thank you Glas, Koala and Kalim much appreciated

Also, is there a way to block programs that need the internet? for example MSN
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-29-2007, 02:23 AM   #10 (permalink)
Roaming To Help
 
Join Date: Nov 2006
Posts: 5,642
OS: Many


You're welcome.
Quote:
Originally Posted by Go The Power View Post
Also, is there a way to block programs that need the internet? for example MSN
Yes, through a firewall though. Which firewall do you use?
Kalim is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-29-2007, 02:27 AM   #11 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

It is not one my computer it is on my parents. They use Norton , My mum just wont listen to me
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 04:18 PM   #12 (permalink)
TSF Enthusiast
 
TheMatt's Avatar
 
Join Date: May 2006
Location: Boston
Posts: 13,701
OS: Win 3.1, 98, NT 4.0, XP Debian 4.0, Kubuntu 6.06

My System

Blog Entries: 3
Send a message via MSN to TheMatt
Re: Host File

Are you behind a router? If so, block these ports on the IP of your parents' computer:
TCP 6891 - 6900
TCP/UDP 1863
UDP 5190
TCP/UDP 6901
__________________
- Matt M - KB1OSC - Folding@Home 85015
[url="http://www.techsupportforum.com/hardware-support/"]


If TSF has helped you, please consider donating.

If I have stopped responding to a thread, feel
free to send me a PM with a link to the thread.

It is advisable to subscribe to threads so you will
receive updates when replies are posted. You can
subscribe to threads from the "Thread Tools" Menu.

»Memtest86 »Prime95 »UBCD »SpeedFan »NHC Personal
»Everest »Sandra »PC Wizard »RivaTuner »ATi Tool

Click here for Useful Articles and Guides
TheMatt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 06:04 PM   #13 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

Quote:
Originally Posted by TheMatt View Post
Are you behind a router? If so, block these ports on the IP of your parents' computer:
TCP 6891 - 6900
TCP/UDP 1863
UDP 5190
TCP/UDP 6901
Thanks for your reply.

If I do this what will it block?
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 06:34 PM   #14 (permalink)
Roaming To Help
 
Join Date: Nov 2006
Posts: 5,642
OS: Many


Re: Host File

On my system, Windows Live Messenger requires access to TCP ports 1938, 1989, 1990, 2019-2030 and TCP/UDP 1863.
Kalim is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 06:43 PM   #15 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

Maybe you guys have different versions of messenger?

I was reading on this website: Click Here

And it mentioned:
Quote:
Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry
But it did not explain how?
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 07:23 PM   #16 (permalink)
TSF Enthusiast
 
TheMatt's Avatar
 
Join Date: May 2006
Location: Boston
Posts: 13,701
OS: Win 3.1, 98, NT 4.0, XP Debian 4.0, Kubuntu 6.06

My System

Blog Entries: 3
Send a message via MSN to TheMatt
Re: Host File

I don't know of a way to use th Hosts file for that.

Are you on a router? MSN Messenger uses a wide range of ports, and I posted the ones that will mostly disable it. TCP/UDP 1863 is the main one, but there are a bunch of others as well, including port 80 (HTTP) for one feature which I forget.
__________________
- Matt M - KB1OSC - Folding@Home 85015
[url="http://www.techsupportforum.com/hardware-support/"]


If TSF has helped you, please consider donating.

If I have stopped responding to a thread, feel
free to send me a PM with a link to the thread.

It is advisable to subscribe to threads so you will
receive updates when replies are posted. You can
subscribe to threads from the "Thread Tools" Menu.

»Memtest86 »Prime95 »UBCD »SpeedFan »NHC Personal
»Everest »Sandra »PC Wizard »RivaTuner »ATi Tool

Click here for Useful Articles and Guides
TheMatt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 07:27 PM   #17 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

Yea we have got a router. I cant currently get onto their computer, but when I can I will post back.
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 07:41 PM   #18 (permalink)
TSF Enthusiast
 
TheMatt's Avatar
 
Join Date: May 2006
Location: Boston
Posts: 13,701
OS: Win 3.1, 98, NT 4.0, XP Debian 4.0, Kubuntu 6.06

My System

Blog Entries: 3
Send a message via MSN to TheMatt
Re: Host File

You can log onto the router from anywhere on the network as long as you know the password.
__________________
- Matt M - KB1OSC - Folding@Home 85015
[url="http://www.techsupportforum.com/hardware-support/"]


If TSF has helped you, please consider donating.

If I have stopped responding to a thread, feel
free to send me a PM with a link to the thread.

It is advisable to subscribe to threads so you will
receive updates when replies are posted. You can
subscribe to threads from the "Thread Tools" Menu.

»Memtest86 »Prime95 »UBCD »SpeedFan »NHC Personal
»Everest »Sandra »PC Wizard »RivaTuner »ATi Tool

Click here for Useful Articles and Guides
TheMatt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 07:47 PM   #19 (permalink)
Moderator, Microsoft Support
 
Go The Power's Avatar
 
Join Date: Mar 2007
Location: South Australia
Posts: 10,971
OS: Windows XP Home SP2


Blog Entries: 1
Send a message via MSN to Go The Power Send a message via Skype™ to Go The Power
Re: Host File

I am not currently on the network, I am at a friends place.
__________________


Go The Power is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-30-2007, 08:01 PM   #20 (permalink)
TSF Enthusiast
 
TheMatt's Avatar
 
Join Date: May 2006
Location: Boston
Posts: 13,701
OS: Win 3.1, 98, NT 4.0, XP Debian 4.0, Kubuntu 6.06

My System

Blog Entries: 3
Send a message via MSN to TheMatt
Re: Host File

Ahh, OK.
__________________
- Matt M - KB1OSC - Folding@Home 85015
[url="http://www.techsupportforum.com/hardware-support/"]


If TSF has helped you, please consider donating.

If I have stopped responding to a thread, feel
free to send me a PM with a link to the thread.

It is advisable to subscribe to threads so you will
receive updates when replies are posted. You can
subscribe to threads from the "Thread Tools" Menu.

»Memtest86 »Prime95 »UBCD »SpeedFan »NHC Personal
»Everest »Sandra »PC Wizard »RivaTuner »ATi Tool

Click here for Useful Articles and Guides
TheMatt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:38 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85