Re: Remote Connection Help

2019-11-23 Thread Tom Lane
"Jason L. Amerson" writes: > I removed both version of PostgreSQL from Ubuntu. I had to delete some > files manually. I used the repository to install PostgreSQL and then I > configured it for remote access and now everything works great! I can > log in from my Windows computers using pgAdmin. Tha

RE: Remote Connection Help

2019-11-23 Thread Jason L. Amerson
made that much difference. Thanks again to everyone, Jason L. Amerson -Original Message- From: Adrian Klaver Sent: Friday, November 22, 2019 01:11 PM To: Jason L. Amerson Cc: 'PostgreSQL' Subject: Re: Remote Connection Help On 11/22/19 8:27 AM, Jason L. Amerson wrote

Re: Remote Connection Help

2019-11-22 Thread Adrian Klaver
' Subject: Re: Remote Connection Help On 11/22/19 5:40 AM, Jason L. Amerson wrote: Adrian, I originally did install PostgreSQL 12 from the repository. Then I removed it and decided to do it from source. I do have two postgresql.conf files and two pg_hba.conf files in Well from your prev

RE: Remote Connection Help

2019-11-22 Thread Jason L. Amerson
: Adrian Klaver Sent: Friday, November 22, 2019 09:56 AM To: Jason L. Amerson Cc: 'PostgreSQL' Subject: Re: Remote Connection Help On 11/22/19 5:40 AM, Jason L. Amerson wrote: > Adrian, > > I originally did install PostgreSQL 12 from the repository. Then I > removed i

Re: Remote Connection Help

2019-11-22 Thread Adrian Klaver
eSQL' Subject: Re: Remote Connection Help On 11/21/19 1:14 PM, Jason L. Amerson wrote: 1) I have attached a screenshot of the output of "ps ax | grep post" on the Ubuntu machine. 2) Since I was new to PostgreSQL, I followed a tutorial online. I did install from source which I alr

Re: Remote Connection Help

2019-11-22 Thread Adrian Klaver
04:32 PM To: Jason L. Amerson Cc: 'Steve Crawford' ; 'PostgreSQL' Subject: Re: Remote Connection Help On 11/21/19 1:14 PM, Jason L. Amerson wrote: 1) I have attached a screenshot of the output of "ps ax | grep post" on the Ubuntu machine. What program are you using t

RE: Remote Connection Help

2019-11-22 Thread Jason L. Amerson
confirmation or errors. Jason L. Amerson -Original Message- From: Adrian Klaver Sent: Thursday, November 21, 2019 04:53 PM To: Jason L. Amerson Cc: 'Steve Crawford' ; 'PostgreSQL' Subject: Re: Remote Connection Help On 11/21/19 1:14 PM, Jason L. Amerson wrote: &g

RE: Remote Connection Help

2019-11-22 Thread Jason L. Amerson
. Jason L. Amerson -Original Message- From: Adrian Klaver Sent: Thursday, November 21, 2019 04:32 PM To: Jason L. Amerson Cc: 'Steve Crawford' ; 'PostgreSQL' Subject: Re: Remote Connection Help On 11/21/19 1:14 PM, Jason L. Amerson wrote: > 1) I have attached a s

Re: [SPAM] Remote Connection Help

2019-11-22 Thread Moreno Andreo
Il 21/11/19 22:40, Peter J. Holzer ha scritto: On 2019-11-21 17:27:04 +0100, Moreno Andreo wrote: Connection refused means somthing has blocked it. If it was all OK and simply Postgres was not listening, you should've received a "connection timed out" (10060) message. Almost exactly the other w

Re: Remote Connection Help

2019-11-21 Thread Adrian Klaver
On 11/21/19 1:14 PM, Jason L. Amerson wrote: 1) I have attached a screenshot of the output of "ps ax | grep post" on the Ubuntu machine. 2) Since I was new to PostgreSQL, I followed a tutorial online. I did install from source which I already knew how to do. I got the source package from Post

Re: [SPAM] Remote Connection Help

2019-11-21 Thread Peter J. Holzer
On 2019-11-21 17:27:04 +0100, Moreno Andreo wrote: > Connection refused means somthing has blocked it. If it was all OK and simply > Postgres was not listening, you should've received a "connection timed out" > (10060) message. Almost exactly the other way around. If you try to connect to a port w

Re: Remote Connection Help

2019-11-21 Thread Adrian Klaver
On 11/21/19 1:14 PM, Jason L. Amerson wrote: 1) I have attached a screenshot of the output of "ps ax | grep post" on the Ubuntu machine. What program are you using to SSH into the remote machine? It should allow you to copy 'n' paste the screen output without resorting to screenshots. Text is

Re: Remote Connection Help

2019-11-21 Thread Andrew Kerber
NPATH=/usr/local/pgsql/share/man:$MANPATH > export MANPATH > > Jason L. Amerson > > > -Original Message- > From: Adrian Klaver > Sent: Thursday, November 21, 2019 03:17 PM > To: Jason L. Amerson ; 'Tom Lane' < > t...@sss.pgh.pa.us> > Cc: &#

Re: Remote Connection Help

2019-11-21 Thread Tom Lane
"Jason L. Amerson" writes: > pg_settings show localhost. What I asked you about was the "source" columns. regards, tom lane

Re: Remote Connection Help

2019-11-21 Thread Andrew Kerber
. Amerson > > > -Original Message- > From: Tom Lane > Sent: Thursday, November 21, 2019 02:42 PM > To: Jason L. Amerson > Cc: 'Steve Crawford' ; 'Adrian Klaver' > ; 'PostgreSQL' > > Subject: Re: Remote Connection Help > > "Jason L. Am

Re: Remote Connection Help

2019-11-21 Thread Adrian Klaver
: Tom Lane Sent: Thursday, November 21, 2019 02:42 PM To: Jason L. Amerson Cc: 'Steve Crawford' ; 'Adrian Klaver' ; 'PostgreSQL' Subject: Re: Remote Connection Help "Jason L. Amerson" writes: Yes "listen_addresses" is not commented. I did n

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
pg_settings show localhost. Jason L. Amerson -Original Message- From: Tom Lane Sent: Thursday, November 21, 2019 02:42 PM To: Jason L. Amerson Cc: 'Steve Crawford' ; 'Adrian Klaver' ; 'PostgreSQL' Subject: Re: Remote Connection Help &qu

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
. Amerson -Original Message- From: Tom Lane Sent: Thursday, November 21, 2019 02:53 PM To: Mark Johnson Cc: Jason L. Amerson ; Steve Crawford ; Adrian Klaver ; PostgreSQL Subject: Re: Remote Connection Help Mark Johnson writes: > As I recall, if the listening address is set to 

Re: Remote Connection Help

2019-11-21 Thread Tom Lane
Mark Johnson writes: > As I recall, if the listening address is set to '*' but is showing > localhost, then the problem you describe is likely due to missing an IPv6 > address in pg_hba.conf. No, the contents of pg_hba.conf don't directly impact the listen_addresses setting. Also, if that's wher

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
merson Cc: Tom Lane ; Steve Crawford ; Adrian Klaver ; PostgreSQL Subject: Re: Remote Connection Help As I recall, if the listening address is set to '*' but is showing localhost, then the problem you describe is likely due to missing an IPv6 address in pg_hba.conf. For me, I

Re: Remote Connection Help

2019-11-21 Thread Tom Lane
"Jason L. Amerson" writes: > Yes "listen_addresses" is not commented. I did notice when I did the netstat, > for tcp, it was all "127.0.0.1" on various ports including 5432 but I have a > listing for tcp6 that has my static IP using port 32305. Would that make a > difference? Hm, well, *someth

Re: Remote Connection Help

2019-11-21 Thread Mark Johnson
iginal Message- > From: Tom Lane > Sent: Thursday, November 21, 2019 01:18 PM > To: Jason L. Amerson > Cc: 'Steve Crawford' ; 'Adrian Klaver' < > adrian.kla...@aklaver.com>; 'PostgreSQL' < > pgsql-general@lists.postgresql.org> > S

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
al Message- From: Tom Lane Sent: Thursday, November 21, 2019 01:18 PM To: Jason L. Amerson Cc: 'Steve Crawford' ; 'Adrian Klaver' ; 'PostgreSQL' Subject: Re: Remote Connection Help "Jason L. Amerson" writes: > I connected to PostgreSQL locally. I

Re: Remote Connection Help

2019-11-21 Thread Tom Lane
"Jason L. Amerson" writes: > I connected to PostgreSQL locally. I ran “show listen_addresses;” and it > returned “localhost.” I ran “show port;” and it returned “5432.” I am now > confused. I edited the “postgresql.conf” file and change the setting to ‘*’. > Then I restarted the server with “se

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
.” Jason L. Amerson From: Steve Crawford Sent: Thursday, November 21, 2019 12:05 PM To: Jason L. Amerson Cc: Adrian Klaver ; PostgreSQL Subject: Re: Remote Connection Help On Thu, Nov 21, 2019 at 8:48 AM Jason L. Amerson mailto:drja...@alphagenius.org> > wrote: 1) I

Re: Remote Connection Help

2019-11-21 Thread Steve Crawford
On Thu, Nov 21, 2019 at 8:48 AM Jason L. Amerson wrote: > 1) I am not sure if Postgres server is listening on port 5432. How do I > check? > > 2) I have tried "psql -h xx.xx.xx.xx" and "psql -h xx.xx.xx.xx -U > postgres." > I even tried to telnet to it using the static IP and port 5432 but it wou

Re: ***SPAM*** Re: [SPAM] Remote Connection Help

2019-11-21 Thread Andrew Kerber
and got nothing. > iptables is turned off and still nothing. > > > > Jason L. Amerson > > > > *From:* Moreno Andreo > *Sent:* Thursday, November 21, 2019 11:27 AM > *To:* pgsql-general@lists.postgresql.org > *Subject:* ***SPAM*** Re: [SPAM] Remote Connection

RE: ***SPAM*** Re: [SPAM] Remote Connection Help

2019-11-21 Thread Jason L. Amerson
I have removed the rules in the iptables and restarted it and got nothing. iptables is turned off and still nothing. Jason L. Amerson From: Moreno Andreo Sent: Thursday, November 21, 2019 11:27 AM To: pgsql-general@lists.postgresql.org Subject: ***SPAM*** Re: [SPAM] Remote Connection

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
using the static IP with SSH. 3) It is my own physical machine. It is running Ubuntu and has a static IP. Jason L. Amerson -Original Message- From: Adrian Klaver Sent: Thursday, November 21, 2019 11:11 AM To: Jason L. Amerson ; 'PostgreSQL' Subject: Re: Remote Connection Help

Re: [SPAM] Remote Connection Help

2019-11-21 Thread Moreno Andreo
Il 21/11/19 15:21, Jason L. Amerson ha scritto:   could not connect to server: Connection refused (Ox274D/10061) Is the server running on host " xx.xx.xx.xx" and accepting TCP/IP co

Re: Remote Connection Help

2019-11-21 Thread Adrian Klaver
*From:*Jason L. Amerson *Sent:* Thursday, November 21, 2019 09:22 AM *To:* PostgreSQL *Subject:* Remote Connection Help I am at a loss for what to do. I have read article after article about how to allow remote connections on my PostgreSQL server and none of what the articles say do, worked for

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
Ubuntu machine. Jason L. Amerson From: Steve Atkins Sent: Thursday, November 21, 2019 09:49 AM To: pgsql-general@lists.postgresql.org Subject: Re: Remote Connection Help On 21/11/2019 14:30, Ekaterina Amez wrote: El 21/11/19 a las 15:21, Jason L. Amerson escribió: I am at a

RE: Remote Connection Help

2019-11-21 Thread Jason L. Amerson
-h xx.xx.xx.xx" while using my Ubuntu machine. Jason L. Amerson From: Jason L. Amerson Sent: Thursday, November 21, 2019 09:22 AM To: PostgreSQL Subject: Remote Connection Help I am at a loss for what to do. I have read article after article about how to allow remote connecti

Re: Remote Connection Help

2019-11-21 Thread Steve Atkins
On 21/11/2019 14:30, Ekaterina Amez wrote: El 21/11/19 a las 15:21, Jason L. Amerson escribió: I am at a loss for what to do. I have read article after article about how to allow remote connections on my PostgreSQL server and none of what the articles say do, worked for me. I have edited the

Re: Remote Connection Help

2019-11-21 Thread Ekaterina Amez
El 21/11/19 a las 15:21, Jason L. Amerson escribió: I am at a loss for what to do. I have read article after article about how to allow remote connections on my PostgreSQL server and none of what the articles say do, worked for me. I have edited the “postgresql.conf” file and changed “listen_

Remote Connection Help

2019-11-21 Thread Jason L. Amerson
I am at a loss for what to do. I have read article after article about how to allow remote connections on my PostgreSQL server and none of what the articles say do, worked for me. I have edited the "postgresql.conf" file and changed "listen_address = 'localhost' to listen_address = '*'. I have ev