The OP didn't know the host and port for their postgres database. They can connect with a basic psql command, so that implies localhost:5432. Unless someone got clever with env vars/aliases/etc. I don't love my answer a decade later, but solving the x instead of y is perfectly fine and in this case has helped hundreds of people.

Make TCP connection to any port of any IP or website from different places. Check port status of server. For example you could check a new SSH port of your server for availability from many countries. Website monitoring or any other services monitoring with this tool are able to make system administrator's day. Test remote network port connection in Windows 10 One of its cmdlets, Test-NetConnection, can be used to check the connection to a remote address and to a custom port specified by the user. It has the following syntax: Test-NetConnection -ComputerName COMPUTER_NAME -Port PORT_NUMBER. Use it as follows. Test remote network port connection in Windows 10. Open PowerShell; Type the following command: How to identify com port? - Microsoft Community

Before you attempt to check the modem’s COM port: A. Plug the modem into a USB port on Device ManageR’s host system. B. Install the most recent version of the modem’s drivers. Then check the COM port by following these steps: 1.

Jul 03, 2017 How to Check Which Ports Are in Use in Windows 10

An alternative to telnet in checking ports is Network Utility. In order to check ports on a Mac, follow the plan below: Open "Network Utility" > Click "Port Scan" > Indicate the hostname and ports to scan the remote host e.g. myserver.com from 995 to 995 > Check the output Acting on the results obtained from the Telnet test

How to check if port is open on windows - Open Port Jun 06, 2017 TCP connect, check port: Check host - online website Make TCP connection to any port of any IP or website from different places. Check port status of server. For example you could check a new SSH port of your server for availability from many countries. Website monitoring or any other services monitoring with this tool are able to make system administrator's day.