From: | "Javali, Pramod" <Pramod(dot)Javali1(at)t-mobile(dot)com> |
---|---|
To: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, "kashi(dot)zeeshan(at)gmail(dot)com" <kashi(dot)zeeshan(at)gmail(dot)com> |
Cc: | "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | RE: Unable to connect to server |
Date: | 2024-04-30 02:20:42 |
Message-ID: | CH2PR02MB6885C53E60E2D7A169C1A58AEF1A2@CH2PR02MB6885.namprd02.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi Team,
I’m able to connect now. Thankyou
Regards
Pramod
From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Sent: Monday, April 29, 2024 8:56 PM
To: Javali, Pramod <Pramod(dot)Javali1(at)t-mobile(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Unable to connect to server
[External]
This is unlikely to be a bug, it seems like an admin issue.
When I've seen this "server closed the connection unexpectedly" immediately upon connection, it is usually because a port forwarder has accepted the connection and tried to pass it on to the real server, but the forwarder got a connection refused error. As it already accepted the connection, it can't pass the "refused" back to the client so instead just closes it without comment, which is unexpected.
If that is what is happening, you will not find any direct log messages in the PostgreSQL log about it, as no connection was ever established and so there is nothing to log. But if something else is going on, you might get log messages so check for them.
Make sure that the PostgreSQL server is actually running, is listening on the right port and the right network interface, and that any port forwarder or firewall is configured correctly.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Sandeep Thakkar | 2024-04-30 05:41:37 | Re: Re: edb installation failed for pgadmin when username is Chinese under c;\user #7432 |
Previous Message | Thomas Munro | 2024-04-30 02:14:50 | Re: Re: edb installation failed for pgadmin when username is Chinese under c;\user #7432 |