我想将我的vps(debian)中的postgres从我的电脑与pgadmin3连接起来。我的问题是5432端口没有打开!我试图用这个命令打开它
iptables -A INPUT -p tcp --dport 5432 -j ACCEPT
但我的问题没有解决!
aminpy@lenovo ~ $ telnet vps_ip 5432
Trying vps_ip...
telnet: Unable to connect to remote host: Connection refused
有谁能够帮助我?