Skip to content

Probleme connexion DB

Bonjour, on a un probleme avec la base de donnees sur la VM

Le test cause cette erreur sur la pipeine, mais pas localement Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Dans le test du back-end, ligne 19

 18 
 19     EntityManager em = Persistence.createEntityManagerFactory("pu-cco2").createEntityManager();
Edited by DJEGHRI HICHEM p2112167