Answer the question
In order to leave comments, you need to log in
How to implement postgres connection in wsl and in windows?
Good afternoon! I decided to migrate the database in the project from SQLite3 to PostgreSQL, in the course of work I ran into a problem: I installed postgreSQL separately inside wsl and virtual environment, however, I cannot connect PgAdmin4 from Windows with PostgreSQL from WSL. I connect via localhost, port 5432, standard admin .. but all in vain .. In WSL, the PostgreSQL version is 12, on Windows 14. I can’t upgrade to wsl to 14. How to be? I would either make a connection or install PgAdmin4 on wsl, but I don't know how. I would be grateful for any help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question