It looks like there is a typo in the database URL in the error message. Instead of "localhost", it says "ocalhost". Double-check the values in the .env file to make sure they are correct.
Also, try specifying the database name directly in the connection configuration instead of using the environment variable. Change this line:
'database' => env('DB_DATABASE_VITRINA', ''),
to:
'database' => 'vitrina',
If that doesn't work, try connecting to the database using the PDO driver directly to see if there are any other errors. Here's an example:
$pdo = new PDO('pgsql:host=localhost;dbname=vitrina;port=5432;sslmode=prefer', 'postgres', '1234');
$stmt = $pdo->query('SELECT * FROM some_table');
$results = $stmt->fetchAll(PDO::FETCH_ASSOC);
print_r($results);
If you still can't connect, make sure that the PostgreSQL server is running and that you have the correct permissions to access the database.