Problem 1
I have installed Postgresql on WSL2 (Windows 11) & Datagrip(GUI) in windows. After connecting postgresql databases from WSL2 to Datagrip it works fine, but after a few seconds or minutes it says refure to connect:
Problem 2
After having this problem, I thought it's not about postgresql but somekind of connection problem. WSL2 unable to contact with Windows 11. So, I tried to install react on WSL2 and start the app. but as expected it fails on localhost:3000
(Win 11, Chrome browser) but works with On Your Network: http://192.168.54.171:3000
I think somehow the IP or something is blocking by WSL2 or maybewindows 11 has problem with wsl2 again
SYSTEM:
WSL : 2Windows : 11Disto : Ubuntu-22.04
plz help me someone 😭😢