Hi everyone,
I’m new into project IDX & configured a laravel project with a postgresql database.
Everything was working fine. I only configured and did no changes at all to the base.
But now after re-connecting to my project, I got the message:
SQLSTATE[08006] [7] connection to server at “127.0.0.1”, port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? (Connection: pgsql, SQL: select * from “sessions” where “id” = ZNchl3LimDaXTZAo2erG74J9wHlKJ03IAlZHikM7 limit 1)
But i did no changes, when I try to connect to the Database I got the error message (127.0.0.1 @5432):
Econnrefused
.
But the configuration seems correct isn’t it ?
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=laravel
DB_USERNAME=user
DB_PASSWORD=