MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Hardware
Register FAQ Members List Calendar Casino Mark Forums Read

Hardware Hardware like hard drives, motherboards, video cards, printers, CD-ROMs, etc.


Reply
 
Thread Tools Display Modes
  #1  
Old 07-31-06, 14:56
jakinov jakinov is offline
Private E-2
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Blocking Msn Server with host file

I'm trying to block the msn server from anyone logging on to msn messenger passport server but I don't know how to do that with the host files and for some reason my host file won't block msn.com
Reply With Quote
Sponsored links
  #2  
Old 07-31-06, 17:54
TheDoug TheDoug is offline
Major Geek
 
Join Date: Jun 2004
Location: Undisclosed
Posts: 1,350
Thanks: 0
Thanked 2 Times in 2 Posts
Default Re: Blocking Msn Server with host file

Add this line to your hosts file:

127.0.0.1 nnnnnn.nnn

where nnnnnn.nnn is the domain you want blocked. You probably already know your hosts file is in c:\windows\system32\drivers\etc\ and is read only, so you will have to open its Properties and unset the Read Only attribute before you can edit it, making sure to reset it when you're finished..
Reply With Quote
  #3  
Old 07-31-06, 22:02
jakinov jakinov is offline
Private E-2
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Blocking Msn Server with host file

Quote:
Originally Posted by TheDoug
Add this line to your hosts file:

127.0.0.1 nnnnnn.nnn

where nnnnnn.nnn is the domain you want blocked. You probably already know your hosts file is in c:\windows\system32\drivers\etc\ and is read only, so you will have to open its Properties and unset the Read Only attribute before you can edit it, making sure to reset it when you're finished..
the only problem now is that i don't know the host name of msn servers only the ips. do you know the host names?
Reply With Quote
  #4  
Old 08-03-06, 23:40
dedub dedub is offline
Corporal
 
Join Date: Feb 2005
Location: N.C.
Posts: 276
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Blocking Msn Server with host file

One quick thing that comes to mind is do a netstat in a cmd prompt when MSN is connected. Then a domain lookup; use that info in your host. I'm sure there is an easier way but that will work.

good luck
__________________
R.L.T.W.-------A+, Net +, CCNA, VB6, JAVA, Crystal Radio
Reply With Quote
  #5  
Old 08-04-06, 01:28
jakinov jakinov is offline
Private E-2
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Blocking Msn Server with host file

Quote:
Originally Posted by dedub
One quick thing that comes to mind is do a netstat in a cmd prompt when MSN is connected. Then a domain lookup; use that info in your host. I'm sure there is an easier way but that will work.

good luck
: huh? can you explain how to do that?
Reply With Quote
Sponsored links
  #6  
Old 08-04-06, 19:45
dedub dedub is offline
Corporal
 
Join Date: Feb 2005
Location: N.C.
Posts: 276
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Blocking Msn Server with host file

Im assuming your using 2000 or XP.
go to start, run, and type CMD...
in the black box (CMD window) type *netstat* without the *
That shows you all active network connections by port, IP, Protocol and the state its in. ie.. established, timed out ect...

you could also do a netstat /? and that will give you an explanation and some additional switches to include in the command. You can google netstat or go to MS online documentation and read more on it than you could possible ever want to.

Again, while logged into MSN or any other service, do a netstat and you will get the server name or at a minimum the IP.
Good luck
__________________
R.L.T.W.-------A+, Net +, CCNA, VB6, JAVA, Crystal Radio
Reply With Quote
  #7  
Old 08-04-06, 20:04
jakinov jakinov is offline
Private E-2
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Re: Blocking Msn Server with host file

Quote:
Originally Posted by dedub
Im assuming your using 2000 or XP.
go to start, run, and type CMD...
in the black box (CMD window) type *netstat* without the *
That shows you all active network connections by port, IP, Protocol and the state its in. ie.. established, timed out ect...

you could also do a netstat /? and that will give you an explanation and some additional switches to include in the command. You can google netstat or go to MS online documentation and read more on it than you could possible ever want to.

Again, while logged into MSN or any other service, do a netstat and you will get the server name or at a minimum the IP.
Good luck
alright i'll try that :D:D:D
Reply With Quote
  #8  
Old 08-04-06, 21:35
TimW's Avatar
TimW TimW is offline
MajorGeeks Administrator - Jedi Malware Expert
 
Join Date: Jan 2005
Location: The recesses of my mind!
Posts: 45,939
Thanks: 400
Thanked 4,454 Times in 4,230 Posts
Default Re: Blocking Msn Server with host file

If you know the ip address:
Whois lookup ip address ..
http://www.networksolutions.com/whoi...kid=1000000000
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 13:57.


MajorGeeks.Com Home Page
| Admin Tools | All In One | Anti-Spyware | Anti-Virus | Appearance | Backup | Benchmarking | BIOS | Browsers | Covert Ops |
Data Recovery | Diagnostics | Drive Cleaners | Drive Utilities | Drivers | Driver Tools Ergonomics | Firewalls | Games | Game Tweaks | Graphics | Input Devices | Internet Tools | Macintosh | Mail Utilities | Memory | Messaging | Monitoring | Microsoft | Multimedia | Networking | Office Tools | Process Management | Processor | Registry | Security | System Info | Toys | Video | Miscellaneous
|
Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger