Depending on how you installed postgresql, it might not even listen to any network device but only a local filesystem socket or pipe.
If you can use
psql -h localhost -U <username> -d <tablename> to connect from the command line then phoenix should do the job as well. If it does not work, take a look if the configuration tips given in https://www.cyberciti.biz/faq/postgresql-remote-access-or-connection/ can help you. Please make sure you do substitute given IP and port examples with your own. At least it explains how to enable network access if it was not activated before.