In a Windows system (in this case Windows 7) we have the "hosts" file in Windows\System32\drivers\etc

This location also has 3 other files:

  1. networks
  2. protocol
  3. services

Note: the "services" file was explained in this other question. But what function does the "networks" and "protocol" files provide?

1 Answer 1


They are used to support functions in the networking libraries:

  • protocol is used by getprotobyname

  • network is used by applications doing loopback connections.

Further reading

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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