Skip site navigation (1) Skip section navigation (2)

Re: Cannot Access Remote Server [SOLVED]

From: Thom Brown <thom(at)linux(dot)com>
To: Tom Browder <tom(dot)browder(at)gmail(dot)com>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Cannot Access Remote Server [SOLVED]
Date: 2011-08-19 12:15:35
Message-ID: CAA-aLv64qwVveKiDbZ5SfT09EyGr-jvhSVpdpnf+DN0YR3HYjg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-support
On 19 August 2011 13:13, Tom Browder <tom(dot)browder(at)gmail(dot)com> wrote:
>
> SOLVED!!
>
> I redid the iptables command because the line above is incorrect, it
> should read:
>
> # iptables -A INPUT -p tcp --destination-port 5432 -s x.x.x.x -j ACCEPT
>
> Note that the previous rule had to be deleted which I did by editing
> the file /etc/iptables/default and removing it and saving the file (I
> think there is a safer way but I didn't know how and was afraid I
> might remove the wrong rule).
>
> Note also there are some differences between Ubuntu and Fedora, for
> example the location of the rules file. If I have to do this again I
> would save file /etc/iptabes/default before I start messing with it.
>
> After deleting the old rule and making the corrected rule with the
> iptables command I did:
>
>  # /etc/init.d/iptables save
>  # /etc/init.d/iptables restart
>
> and I got in!
>
> Thanks Thom.
>

Well it was Guillaume who guided you in that direction, not I. :)

-- 
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

pgadmin-support by date

Next:From: Tom BrowderDate: 2011-08-19 13:54:38
Subject: Re: Cannot Access Remote Server [SOLVED]
Previous:From: Tom BrowderDate: 2011-08-19 12:13:28
Subject: Re: Cannot Access Remote Server [SOLVED]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group