If you happen to be running a postgresql server locally or pgadmin is already using it, yes, that port will already be in use. You can change the local port by changing the first number like this:
When I try your solution. I will prompt to enter password. After pressing enter nothing appear. Like an infinity loop. I had to press Ctrl/C to stop the command.
I receive a message from Xojo Support From @Jason_Parsley
This is the solution:
To connect with pgAdmin, I would not set up the tunnel in the terminal. pgAdmin will do that for you so I would make sure that the terminal tunnel isn’t open.
The next thing that I would do is deploy a simple test web app to your server from the Xojo IDE. Doing that will add your external ip address to an allow list - if your ip isn’t on the last, the security system will likely block pgAdmin.
On the SSH Tunnel tab in pgAdmin, the Tunnel host should then be xxx.xx.xx.xxx. (replace with your own XojoCloud IP)
On the Connection tab you can use localhost for the Host name/address.