You have not yet stated the version of windows, so I shall assume W8. In that case you should have the following lines in the hosts file
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
::1 localhost
The hosts file can be found in Windows/System32/Drivers/etc