telnet host port command in PowerShell to test if the host can be connected, then used the Ctrl+] command and entered status. The screen shows that it is connected, but after about a minute, it shows that the connection is lost.psql -U myusername -d dbname inside the container, I can enter the database normally and use various commands. 
