

Nmap scan report for servera.my.url.de (141.X.YZ.AB) Portscan $ nmap -p 5000-6000 -sT servera.my.url.de Is the server running on host "servera.my.url.de" (141.X.YZ.AB) and acceptingĪnd psql -h servera.my.url.de -p 5932 -U myusername -W -c "select 1" Psql: could not connect to server: Connection refused Is my Python script the problem? psql -h servera.my.url.de -p 5930 -c "select 1" servera.my.url.de ping statistics -ģ packets transmitted, 3 received, 0% packet loss, time 2001ms Is the server there? ping servera.my.url.de

Is the server running on host "servera.my.url.de" (141.X.YZ.AB) andĪccepting TCP/IP connections on port 5432? I've tried adding host=servera.my.url.de but that gave me could not connect to server: Connection refused So my Python script needs to access the PostgreSQL-database from server B connecting to server A. The PostgreSQL database will remain at server A. It currently works fine, but I have to move the script to another server B. I currently have a Python script that needs to fetch some data from a PostgreSQL database.
