<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: im having trouble connecting to my postgresql server remotely   in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-connecting-to-my-postgresql-server-remotely/m-p/68173#M22663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Titus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit late to answer this question but I see it's still open, so here you go:&lt;/P&gt;&lt;P&gt;Your postgresql.conf looks fine, it has:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; listen_addresses = '*'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;port = 5432&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is your host based authentication file pg_hba.conf. Until now you are only allowing connections from local host. Let's say your database is named: alfrescodb, and your user is alfresco. And imagine you are connecting from 10.9.0.42, then, you need to add the following line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;host&amp;nbsp;&amp;nbsp;&amp;nbsp; alfrescodb&amp;nbsp;&amp;nbsp; alfresco&amp;nbsp;&amp;nbsp; 10.9.0.42/32&amp;nbsp;&amp;nbsp; md5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And remove this line at the end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;host all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;127.0.0.1/32 &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avoid using the 'password' method, as it sends the password on plain text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps&lt;/P&gt;&lt;P&gt;Boriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2019 09:20:27 GMT</pubDate>
    <dc:creator>bmejias1</dc:creator>
    <dc:date>2019-02-11T09:20:27Z</dc:date>
    <item>
      <title>im having trouble connecting to my postgresql server remotely</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-connecting-to-my-postgresql-server-remotely/m-p/68172#M22662</link>
      <description>it keeps giving me this error "could not connect to server: Connection timed out (0x0000274C/10060) Is the server running on host "10.9.0.101" and accepting TCP/IP connections on port 5432?"&amp;nbsp;Ive&amp;nbsp;configured all the necessary files still keep getting the error ive&amp;nbsp;attached my configuration files</description>
      <pubDate>Thu, 03 Jan 2019 18:05:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-connecting-to-my-postgresql-server-remotely/m-p/68172#M22662</guid>
      <dc:creator>titus123</dc:creator>
      <dc:date>2019-01-03T18:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: im having trouble connecting to my postgresql server remotely</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-connecting-to-my-postgresql-server-remotely/m-p/68173#M22663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Titus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit late to answer this question but I see it's still open, so here you go:&lt;/P&gt;&lt;P&gt;Your postgresql.conf looks fine, it has:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; listen_addresses = '*'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;port = 5432&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is your host based authentication file pg_hba.conf. Until now you are only allowing connections from local host. Let's say your database is named: alfrescodb, and your user is alfresco. And imagine you are connecting from 10.9.0.42, then, you need to add the following line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;host&amp;nbsp;&amp;nbsp;&amp;nbsp; alfrescodb&amp;nbsp;&amp;nbsp; alfresco&amp;nbsp;&amp;nbsp; 10.9.0.42/32&amp;nbsp;&amp;nbsp; md5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And remove this line at the end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;host all&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;127.0.0.1/32 &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avoid using the 'password' method, as it sends the password on plain text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps&lt;/P&gt;&lt;P&gt;Boriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 09:20:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-connecting-to-my-postgresql-server-remotely/m-p/68173#M22663</guid>
      <dc:creator>bmejias1</dc:creator>
      <dc:date>2019-02-11T09:20:27Z</dc:date>
    </item>
  </channel>
</rss>

