Database connection error when setting up Discourse development environment using Linux Bash Shell on Windows 10

plsql is installed and database is created as well. I think the problem is on connecting with port 5432. The powershell is showing the port active. But, inactive in UBUNTU for windows terminal