Level 50
It should work if you add a new database connection with 127.0.0.1 as the host, along with the correct port and user credentials.
Are you trying to connect as the postgres user? I haven't used Postgres recently, but in MySQL/MariaDB, the root user is nowadays restricted from connecting via TCP sockets by default, allowing only local Unix socket connections (as sudo). I'm not sure if Postgres has done the same, but if so, you may have to create another user for connecting from Windows.
1 like