From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Remote Access Help
Date: Fri, 6 Nov 2020 09:49:49 +0100
Message-ID: <962c44b5-1a88-a6ab-b5f5-d089f6b56df7@jakobs.com> (raw)
In-Reply-To: <CAM0_Y-WmcrSJvB+Cbyrwe3wuxMt34uORmUO_CDJOMzkEs4LZpw@mail.gmail.com>
References: <CAM0_Y-WmcrSJvB+Cbyrwe3wuxMt34uORmUO_CDJOMzkEs4LZpw@mail.gmail.com>
Hello,
Actually, this is the list of PostgreSQL, and NOT the list of PgAdmin4.
But it could be a problem with the server. To check this, try to connect
with psql, the command line client provided by PostgreSQL.
psql -h localhost -U postgres
Have you configured PostgreSQL correctly? Are TCP/IP connections
allowed? Is pg_hba.conf configured correctly?
Unless you can connect with psql using the parameter -h localhost,
pgAdmin4 won't be able to connect. If you can connect with psql without
-h localhost, then only Unix socket connections are allowd, but pgAdmin4
isn't capable of connecting via Unix sockets.
Regards,
Holger
Am 06.11.20 um 01:13 schrieb DaStormer:
> Hey,
>
> I'm attempting to connect to my PostgreSQL server which is on my Linux
> ubuntu machine with pgAdmin4 remotely from my Windows PC. I'm pretty
> sure I have correctly configured everything necessary, but it
> stillĀ gives me this error:
>
> Unable to connect to server:
>
> could not connect to server: Connection timed out (0x0000274C/10060)
> Is the server running on host "-----------------------"
> (-------------) and accepting
> TCP/IP connections on port 5432?
>
> Please advise.
--
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
Attachments:
OpenPGP_0x8A579C93B31961BA.asc (application/pgp-keys, 16.5K) download
OpenPGP_signature (application/pgp-signature, 202B) download
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-admin@postgresql.org
Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
Subject: Re: Remote Access Help
In-Reply-To: <962c44b5-1a88-a6ab-b5f5-d089f6b56df7@jakobs.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