Jump to content

[Solved] Find names of IP addresses to block them in hosts files


vitorio

Recommended Posts

Some time you need to block IP addresses  of software to prevent them to communicate to their  home site.

 

On way to do this is writing the address names in the hosts windows file to block them.

 

In my case I usually used the address name of the file, for example www.name.com.

 

But many programs use more than one IP address to communicate with home.

 

Until know I just search the internet for such files.

 

My questions, is there a way to find the address names of this IPs  so I can blocked them in the hosts file? 

 

Thanks.

 

 

Link to comment
Share on other sites


  • 3 weeks later...
  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Would a netstat work? Just launch CMD as admin and type in netstat -b

 

it will then list the process in [*.exe] along with the IP when the app makes a request.

 

 

Link to comment
Share on other sites


2 hours ago, flyg said:

Would a netstat work? Just launch CMD as admin and type in netstat -b

 

it will then list the process in [*.exe] along with the IP when the app makes a request.

Works flawlessly. Thanks @flyg.

Link to comment
Share on other sites


  • vitorio changed the title to [Solved] Find names of IP addresses to block them in hosts files

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...