pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

How to fix Postgres error - "connection timeout expired"

Open ConwayNetworking opened this issue 3 years ago • 62 comments

Screenshot from 2023-11-11 10-02-57 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 Screenshot from 2023-11-11 10-03-40 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 :)

ConwayNetworking avatar Nov 10 '23 21:11 ConwayNetworking

Also restarting the service might help if it is going already :)

ConwayNetworking avatar Nov 10 '23 21:11 ConwayNetworking

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

ConwayNetworking avatar Nov 11 '23 10:11 ConwayNetworking

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l

THANK U SO MUCH <3

Pabl0l avatar Dec 02 '23 22:12 Pabl0l