pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>
To: pgsql-performance-owner@postgresql.org <pgsql-performance-owner@postgresql.org>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Re: PGadmin error while connecting with database.
Date: Sun, 14 Jan 2018 04:10:48 +0000
Message-ID: <908bf3f49a904d42b70780455b183b90@cyient.com> (raw)
In-Reply-To: <CA+t6e1m+wnQzzF7kNQgwPCQHDkZGUEiN6UrExsZcr5Vipcjwig@mail.gmail.com>
References: <60460b3628cd43ddb709d93d3a786bd3@cyient.com>
	<CA+t6e1m+wnQzzF7kNQgwPCQHDkZGUEiN6UrExsZcr5Vipcjwig@mail.gmail.com>

Hi Mariel,


Thanks for your response. the problem has been resolved now .

 I checked all the listening port status and port 5432 was only opened for local not for all.

root> netstat -nlt


tcp     0     127.0.0.1:5432     0.0.0.*  LISTEN


I changed it as the below and problem got resolved.


tcp     0     0.0.0.0:5432     0.0.0.*  LISTEN


Regards,
Dinesh Chandra
Cyient Ltd.


________________________________
From: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Sent: Friday, January 12, 2018 2:14:31 PM
To: Dinesh Chandra 12108
Cc: pgsql-performance-owner@postgresql.org; pgsql-performance@postgresql.org
Subject: [EXTERNAL]Re: PGadmin error while connecting with database.

Do you any errors in the server log  or in the log of pgadmin (show us..)? What are the settings that you configured for your pgadmin client  and for the connection ?

2018-01-12 6:55 GMT+02:00 Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com<mailto:Dinesh.Chandra@cyient.com>>:
Dear Expert,

While connecting PostgreSQL 9.3 with PGAdmin client I am getting the below error.

[cid:image001.png@01D38B8F.6F382110]

However I am able to connect the database using psql  thourgh Putty.

Entry in pg_hba.conf

# IPv4 local connections:
host    all             all             127.0.0.1/32<http://127.0.0.1/32;           md5
host    all             all             0.0.0.0/0<http://0.0.0.0/0;              md5

entry in Postgresql.conf

listen_addresses = '*'
port = 5432

port is already open and I am able to telnet.

Even after creating a new instance and fresh installation of PostgreSQL, I am getting the same error.

OS-CentOS 7
S/w-PostgreSQL9.3

Regards,
Dinesh Chandra
|Database administrator (Oracle/PostgreSQL)| Cyient Ltd. Noida.
------------------------------------------------------------------
Mobile: +91-9953975849 | Ext 1078 |dinesh.chandra@cyient.com<mailto:%7Cdinesh.chandra@cyient.com>
Plot No. 7, NSEZ, Phase-II ,Noida-Dadri Road, Noida - 201 305,India<https://maps.google.com/?q=NSEZ,+Phase-II+,Noida-Dadri+Road,+Noida+-+201+305,India&entry=gmail&a...;.


________________________________

DISCLAIMER:

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Check all attachments for viruses before opening them. All views or opinions presented in this e-mail are those of the author and may not reflect the opinion of Cyient or those of our affiliates.

Attachments:

  [image/png] image001.png (7.4K, ../908bf3f49a904d42b70780455b183b90@cyient.com/3-image001.png)
  download | view image

view thread (3+ messages)

Message-ID: <908bf3f49a904d42b70780455b183b90@cyient.com>
Permalink:  ../908bf3f49a904d42b70780455b183b90@cyient.com/
Also on:    postgresql.org/message-id/908bf3f49a904d42b70780455b183b90@cyient.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Dinesh.Chandra@cyient.com, pgsql-performance-owner@postgresql.org
  Subject: Re: Re: PGadmin error while connecting with database.
  In-Reply-To: <908bf3f49a904d42b70780455b183b90@cyient.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox