Jump to content

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


vitorio
Go to solution Solved by flyg,

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.

 

 

Edited by vitorio
Link to comment
Share on other sites


  • 3 weeks later...
  • Replies 2
  • Views 953
  • Created
  • Last Reply

Top Posters In This Topic

  • vitorio

    2

  • flyg

    1

Top Posters In This Topic

  • Solution

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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