Hi there, I am trying to install a postgres cluster in a XenSever VM: I did not have any difficulties in compiling, installing and starting the DB. The problem is that I can not access to this db from an external machine: I tried to configure port forwarding through iptables as well as I did for ssh connections (ssh is working correctly).
Actually I do not have psql in XenServer host, I am using a third server and this is iptables rules I am trying:
Starting Nmap 5.00 ( http://nmap.org ) at 2015-06-12 16:38 CEST Interesting ports on pippo.eu (xxx.xxx.xxx.xxx): PORT STATE SERVICE 5997/tcp filtered ncd-pref
This is psql output:
psql -p 5997 -h pippo.eu psql: could not connect to server: No route to host Is the server running on host "pippo.eu" (xxx.xxx.xxx.xxx) and accepting TCP/IP connections on port 5997?
Port 5997 is open in virtual machine and accept connections.