How to fix Postgres error - "connection timeout expired"
If you are getting said "connection timeout expired" error when trying to connect to your PostGreSQL server
Simply;
-Go to Windows Run (windows + R)
-Type in "services.msc"
-Go to the Postgresql service and manually start it
Voila problem solved, unsure why even though the Startup Type is automatic I had to manually turn it on
Had this problem for ages and solved it myself couldn't find anything helpful online, so hopefully this will help :)
Also restarting the service might help if it is going already :)
Also within C:\program files\postgresql\16\data\postgresql.conf make sure the listening address it set to "*" not a loopback address for ipv4 or 6 (127.0.0.1::1), this should enable you to start the service manually
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3
THANK U SO MUCH <3