How to block a specific connection of an application

Started by William

William

How to block a specific connection of an application   24 November 2020, 13:45

Hi there!
I love NetGenius a lot!

Recently I needed to stop or cancel some specific connections of NoxVMHandle.exe app. I can see all its connections in NetGenius, and wanted to block some of those connections, such as "watch.redd.it:https". Could you kindly let me know how? Or is there any other application of yours that can do the job?

Looking forward to your reply, thank you!
William
SoftPerfect Support forum - Ann avatar image
Ann

Re: How to block a specific connection of an application   24 November 2020, 14:23

Unfortunately, NetGenius doesn't support blocking or limiting individual connections. Blocking and setting limits is done at the application level, i.e. it is possible to set a limit on an application or block the whole application, but not a specific connection within that application.

There is however a workaround. You can add watch.redd.it to the Windows hosts file and map it to 127.0.0.1, which will effectively block that specific address:
  • Open Notepad as Administrator.
  • Go to menu File - Open.
  • Navigate to C:\Windows\System32\drivers\etc
  • Change the file type in the Open dialog window from Text Documents (*.txt) to All Files.
  • Select the hosts file and open it.
  • Go to the last line in the file and add a new line at the end by hitting Enter.
  • Enter the localhost IP address 127.0.0.1, then press the Tab key, and then enter the connection address you wish to block, as shown below.

Your hosts file will look similar to this. The added line is highlighted in red:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
127.0.0.1       watch.redd.it

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **    **  **    **  ********   ******   ******** 
 **   **   **   **   **        **    **     **    
 **  **    **  **    **        **           **    
 *****     *****     ******    **           **    
 **  **    **  **    **        **           **    
 **   **   **   **   **        **    **     **    
 **    **  **    **  **         ******      **    

Message: