Occasionally Windows Update will cause your PostgreSQL connection to fail.
Note: This is very rare.
If Windows recently did an update on your computer you might need to roll back the most recent Windows Update to get PostgreSQL working again. 99% of the time PostgreSQL problems are related to software security so double check that you've gone through that before attempting to roll back a Windows Update.
http://support.microsoft.com/