On Sunday, June 3, 2012 10:05:45 AM UTC-7, Stephen Woodbridge wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">The server has to be configured to listen on 75.75.75.75 and to allow
<br>connection over the network device.
<br>
<br>Look at your pg_hba.conf and postgresql.conf files. and if you make
<br>changes to these you have to restart the server before the changes take
<br>effect.
<br>
<br>-Steve
<br></blockquote><div><br></div><div>Another trick that I use all the time is to tunnel the SQL connection from the remote server to my machine:</div><div><br></div><div> ssh -L5432:localhost:5432 <user name>@<remote server address> </div><div><br></div><div>Then I can connect to the remote database as if it was running locally and there is no need to mess with the pg_hba.conf file and figure out how to secure the open port, route communication through firewalls, etc.</div><div><br></div><div>-Charlie</div>