What is the best? 127.0.0.1 or 0.0.0.0 to block?

Discussion in 'Windows Server' started by SPDIF, Jan 10, 2016.

  1. SPDIF

    SPDIF MDL Junior Member

    Mar 30, 2014
    90
    47
    0
    Many soft found use the name 127.0.0.1 to block some address on the internet.
    Against spying, adds, phone home and so on...

    But on many webpage they say you should use 0.0.0.0 instead because;

    Using 0.0.0.0 instead of 127.0.0.1 is indeed faster because you don't have to wait for a timeout. It also does not interfere if you are running a web server on the local PC.

    If you use 0.0.0.0, you may want to add this entry just before your first 0.0.0.0 "blocking" entry:

    # Special Entries
    0.0.0.0 0.0.0.0 # fix for trace-route and net-stat display anomaly


    Without that entry, some network status and diagnostic apps will use the
    host-name associated with your first 0.0.0.0 "blocking" entry as the
    name of the default IP address.

    Others say that 127.0.0.1 is the best.:g:

    I did tested here on my pc and see it also really works with 0.0.0.0.

    I want to know what the specialists here on MDL think about this!

    Thanks in advance for your post!!:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
  3. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,221
    2,273
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    580
    123
    30
    I have one machine where '0' doesn't work, but '127' does. As best I can tell, it is because that one machine has IIS (Internet Information Server) running and it has something to do with the way it utilizes DNS.
     
  5. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    #5 EFA11, Jan 10, 2016
    Last edited by a moderator: Apr 20, 2017
    Code:
    netsh http add iplisten ipaddress=0.0.0.0
    I think that might do it.

    in case of oops stuff

    Code:
    netsh http delete iplisten ipaddress=0.0.0.0
     
  6. SPDIF

    SPDIF MDL Junior Member

    Mar 30, 2014
    90
    47
    0
    Thanks efa11!! Is it really necessary to add this line as they say?

    # Special Entries
    0.0.0.0 0.0.0.0 # fix for trace-route and net-stat display anomaly

    And what this line is exactly doing?
    So here i also can add 0 0 instead, if i understand you good.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    #7 EFA11, Jan 10, 2016
    Last edited by a moderator: Apr 20, 2017
  8. SPDIF

    SPDIF MDL Junior Member

    Mar 30, 2014
    90
    47
    0
    Thanks again efa11 for your very clear explanation!! :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...