Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

could not connect to server: Connection refused (0x0000274D/10061)

I'm using rails to develop a website but i get this error when i try to open my localhost

could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?

How to fix it guys

like image 400
Gary Vlc Avatar asked Oct 24 '25 13:10

Gary Vlc


1 Answers

In Windows, search for "services" and search for postgres in the list. Right click and select "Start".

like image 193
SHILPA AR Avatar answered Oct 26 '25 02:10

SHILPA AR



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!