pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC connections
2+ messages / 2 participants
[nested] [flat]

* ODBC connections
@ 2016-05-26 23:42 Cindy Taylor <Cindy.Taylor@mossadams.com>
  2016-05-27 19:45 ` Re: ODBC connections Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Cindy Taylor @ 2016-05-26 23:42 UTC (permalink / raw)
  To: pgsql-odbc

I'm setting up an ODBC connection from server A to server B.  When I click test, I get an error, screen shot below.

Using PostGre SQL 9.5, ODBC driver was 9.5.210 x64.  I believe I Need to edit the postgresql.conf file to include the tcpip connections, but I'm not finding the exact syntax to use.  It looks like I need to have -i somewhere in the conf file?


[cid:image001.jpg@01D1B76D.98BD8310]
Cindy Taylor | MOSS ADAMS LLP
Database Administrator

999 Third Avenue, Suite 3300
Seattle, WA 98104
D (206) 302-6350 | C (425) 213-4633


CONFIDENTIALITY NOTICE
This e-mail and any attachments are for the sole use of the intended recipients and contain information that may be confidential or legally privileged. If you have received this e-mail in error, please notify the sender by reply e-mail and delete the message. Any disclosure, copying, distribution, or use of this communication by someone other than the intended recipient is prohibited.

Attachments:

image001.jpg (image/jpeg, 15.6K) download view image
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: ODBC connections
  2016-05-26 23:42 ODBC connections Cindy Taylor <Cindy.Taylor@mossadams.com>
@ 2016-05-27 19:45 ` Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Adrian Klaver @ 2016-05-27 19:45 UTC (permalink / raw)
  To: Cindy Taylor <Cindy.Taylor@mossadams.com>; pgsql-odbc

On 05/26/2016 04:42 PM, Cindy Taylor wrote:
> I’m setting up an ODBC connection from server A to server B.  When I
> click test, I get an error, screen shot below.
>
>
>
> Using PostGre SQL 9.5, ODBC driver was 9.5.210 x64.  I believe I Need to
> edit the postgresql.conf file to include the tcpip connections, but I’m
> not finding the exact syntax to use.  It looks like I need to have –i
> somewhere in the conf file?

https://www.postgresql.org/docs/9.5/static/runtime-config-connection.html

"
listen_addresses (string)

     Specifies the TCP/IP address(es) on which the server is to listen 
for connections from client applications. The value takes the form of a 
comma-separated list of host names and/or numeric IP addresses. The 
special entry * corresponds to all available IP interfaces. The entry 
0.0.0.0 allows listening for all IPv4 addresses and :: allows listening 
for all IPv6 addresses. If the list is empty, the server does not listen 
on any IP interface at all, in which case only Unix-domain sockets can 
be used to connect to it. The default value is localhost, which allows 
only local TCP/IP "loopback" connections to be made. While client 
authentication (Chapter 19) allows fine-grained control over who can 
access the server, listen_addresses controls which interfaces accept 
connection attempts, which can help prevent repeated malicious 
connection requests on insecure network interfaces. This parameter can 
only be set at server start."

You might also want to check that any firewall between server A and B 
has port 5432 open.

>
>
>
>
>
> *Cindy Taylor | MOSS ADAMS LLP**
> *Database Administrator
>
> 999 Third Avenue, Suite 3300
> Seattle, WA 98104
> *D****(206)**302-6350 *| *C****(425)**213-4633*
>
>
>
> **
> *CONFIDENTIALITY NOTICE
> *This e-mail and any attachments are for the sole use of the intended
> recipients and contain information that may be confidential or legally
> privileged. If you have received this e-mail in error, please notify the
> sender by reply e-mail and delete the message. Any disclosure, copying,
> distribution, or use of this communication by someone other than the
> intended recipient is prohibited.
>
>
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-05-27 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26 23:42 ODBC connections Cindy Taylor <Cindy.Taylor@mossadams.com>
2016-05-27 19:45 ` Adrian Klaver <adrian.klaver@aklaver.com>

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