Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaxUm-00081I-Sl for pgsql-admin@arkaria.postgresql.org; Fri, 06 Nov 2020 08:53:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kaxUl-0007Hd-Rg for pgsql-admin@arkaria.postgresql.org; Fri, 06 Nov 2020 08:53:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaxUl-0007HV-K7 for pgsql-admin@lists.postgresql.org; Fri, 06 Nov 2020 08:53:19 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kaxUj-0007ak-P0 for pgsql-admin@lists.postgresql.org; Fri, 06 Nov 2020 08:53:19 +0000 Received: by mail-pg1-x530.google.com with SMTP id h6so440037pgk.4 for ; Fri, 06 Nov 2020 00:53:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:message-id:date :mime-version; bh=bBVDER+ebXz9+CnH57ehNk1LzTUCiuzanJOomLSkduk=; b=ICNqHm6dRPghJVoGXAEHA+C7dvMpXICsVr86ogDcZkQILytwl+KRbtj6imU4XCFmG1 kzdDUDiL+3I47vOLf5lDpi5ZBZCpXZjqvp+04YWDCEr7D85gwmBGxhTRfaC8oTMgvqZR /H4caybNNt8MeLJv44ABAVLf/3C+4Czm4IbPRf5y2aXlrZCruSJPmpn0FZ9ENDt7wsTs N4OdQn8ZaSFS+7Aloh9EQPYF2zGymg07uMOaLP8cKV8fmSYx8FLFh+VkjRRXFHaLAnvm rCMl2vEEwgD3NTftjqR7Mpus2Z3jBTKP/EkkG/EUHfcLgmLze2ClRtlPTTWtEU8T/Js+ 01OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:message-id:date:mime-version; bh=bBVDER+ebXz9+CnH57ehNk1LzTUCiuzanJOomLSkduk=; b=ipjJooCzVKDDLs0sDtn1+f1CBU4NsjmFNajnnV3KBoUn8ZRsQTbiKd3nZu66dUuo4c ZbWvRKSMQY7qZPx6+h9BjfCUyUcGiqp0oRrz4tBkxXir8HpQZGnimIwnmjkvjVCjQ16N nR8fF8ow68ns9WYI7Z5IGl66+ao7BTp6/CZ/wXREMlLlohg8O8DxLFVCWTRUUlFyPd+T IZBBMI6xisvBT8JTMfeOXtLnxS06hs05pJlcJIyaKW5+/YMjesFrj6r8FUU4a+ilcDwE DzmR5u/YmK+ZSCYP6W10gLW15KwSGolTbZ9lsv4myDNcLcuRT5QE58Gm0mMED7rifQUe xDUg== X-Gm-Message-State: AOAM532hkVUgoLhNrk7+gjTH0x/9U49BvXxE0Gv3L3H4szElZm7O7rog 5nHkjf3zbc2A3HkCkA+nzVOJ9vIrJrcI/g== X-Google-Smtp-Source: ABdhPJwPsP7H2R8DTQdQi9YkpB0T7dh/oigPf+weTM3wGFZQQa9GdvPdmAoY6g1nFYYZLip4J0g9ig== X-Received: by 2002:a17:90a:ab87:: with SMTP id n7mr1393006pjq.201.1604652795376; Fri, 06 Nov 2020 00:53:15 -0800 (PST) Received: from tim-desktop (106-69-152-9.dyn.iinet.net.au. [106.69.152.9]) by smtp.gmail.com with ESMTPSA id 199sm1012906pgg.18.2020.11.06.00.53.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 00:53:14 -0800 (PST) References: User-agent: mu4e 1.5.6; emacs 27.1.50 From: Tim Cross To: pgsql-admin@lists.postgresql.org Subject: Re: Remote Access Help In-reply-to: Message-ID: <87eel6amtl.fsf@gmail.com> Date: Fri, 06 Nov 2020 19:53:10 +1100 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk DaStormer writes: > 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. Check the setting of the firewall on the Linux system. By default, Ubuntu uses gufw to configure a basic firewall. You need to ensure that it has a rule allowing remote connections to the pg port (typically 5432). If you have the psql utility installed on your Windows box, you can test to see if that connects. As psql is 'simpler' than pgAdmin4, it is a good way to verify you can connect to the database, eliminating issues like password, db name and network issues. I tend to find tools like pgAdmin4, in an attempt to be 'user friendly' often try to be too clever or hide critical information which makes tracking down common issues easy. -- Tim Cross