Good day! We have a development server on which Centos 7 and postgres-9.5 are installed, it’s not possible in Pycharm to connect to a remote server.

Config /var/lib/pgsql/9.5/data/pg_hba.conf after adding the last line looks like this:

# TYPE DATABASE USER ADDRESS METHOD local all all peer host all all 127.0.0.1/32 password host all all ::1/128 password host all all 0.0.0.0/0 md5 

iptables is temporarily disabled

In Pycharm I give this configuration Pycharm settings

    0