Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have some name address that i want to send straight to the void using the HOSTS file but i don't want to use the 127.0.0.1. How can i do that?.

Why?, I want to speed up some proccess but 127.0.0.1 is serving a webserver, so if i use 127.0.0.1 then this process will call my webserver, consuming resources and may be delaying the process.

Right now, i am using 0.0.0.0 instead of 127.0.0.1 but i am not sure if it is correct.

    0.0.0.0  crl.microsoft.com
share|improve this question
add comment

1 Answer 1

Two things:

  • Is your web server listening on 127.0.0.2 as well?
  • 0.0.0.0 should be fine, though you're likely generating some short-lived network traffic with it.
share|improve this answer
1  
Your first point was going to be my answer too. There are hundreds of loopback addresses, and only one of them is ever used in 99.99% of cases. –  Mark Henderson Jun 11 '12 at 21:48
1  
@MarkHenderson a bit more then hundreds. You have an entire /8 there is 16,777,214 possible addresses. –  Zoredache Jun 12 '12 at 0:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.