User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

how_to:localhost_missing_from_vista_hosts_file [2018/11/14 10:45] (current)
Line 1: Line 1:
 +======Localhost missing from Vista HOSTS file======
 +The PostgreSQL database server needs to be able to resolve the '​localhost'​ name for it to run. On some Windows Vista installations,​ the HOSTS file seems to be missing the **localhost** entry (usually it is there, but it seems to be a common problem for it not to be there).
 +To resolve this problem, find Start -> Programs -> Accessories -> Notepad, and right-click Notepad, and choose **Run as administrator**. Then, choose File -> Open in Notepad, and open **c:​\windows\system32\drivers\etc\hosts**. Add a line at the bottom saying:
 +** ​     localhost**
 +Save the file, and that should resolve the problem.
 +{{tag>​installation vista}}
how_to/localhost_missing_from_vista_hosts_file.txt ยท Last modified: 2018/11/14 10:45 (external edit)