I want to connect postgres that is in my vps (debian), from my pc with pgadmin3. my problem is that port 5432 is not open! I tried to open it with this command
iptables -A INPUT -p tcp --dport 5432 -j ACCEPT
but my problem didn't solve!
aminpy@lenovo ~ $ telnet vps_ip 5432
Trying vps_ip...
telnet: Unable to connect to remote host: Connection refused
can anybody help me?