Ok...next step is to try to connect remotely from the trusted psql(1) again, as in
psql -U proot -d databaseName -h hostname -p portNumber
If you can connect, then your listner configuration is working ok (per other caller's comment). In which case you focus on the application.
Cheers
Medi