pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedMS Access error "could not connect to remote socket"
2+ messages / 2 participants
[nested] [flat]
* MS Access error "could not connect to remote socket"
@ 2004-03-12 07:08 chor kim seng <ksc133@singnet.com.sg>
2004-03-12 08:55 ` Re: MS Access error "could not connect to remote socket" Richard Huxton <dev@archonet.com>
0 siblings, 1 reply; 2+ messages in thread
From: chor kim seng @ 2004-03-12 07:08 UTC (permalink / raw)
To: pgsql-odbc
dear sir,
i'm trying to set up a win2k client to connect to postgreSQL running on redhat 7.2.
but every time i try to connect MS Access, the error pops up. error:
"ODBC --call failed.
could not connect to server;
could not connect to remote socket."
i've checked that firewall on redhat 7.2 was disable via lokkit.
i've created root as a postgreSQL user.
i've aslo allow host ip win2k to access postgreSQL.
i've used the latest ODBC driver for postgreSQL
i use root account to connect MS Access to postgreSQL.
win2k can ping and see redhat on the network browser.
win2k can also access the shared samba files.
i've tried to connect to MySQL but also can't connect.
error:
host 192.168.100.110 not allow to connect to this MySQL server.
pls help me. thanks!
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: MS Access error "could not connect to remote socket"
2004-03-12 07:08 MS Access error "could not connect to remote socket" chor kim seng <ksc133@singnet.com.sg>
@ 2004-03-12 08:55 ` Richard Huxton <dev@archonet.com>
0 siblings, 0 replies; 2+ messages in thread
From: Richard Huxton @ 2004-03-12 08:55 UTC (permalink / raw)
To: chor kim seng <ksc133@singnet.com.sg>; pgsql-odbc
On Friday 12 March 2004 07:08, chor kim seng wrote:
> dear sir,
>
> i'm trying to set up a win2k client to connect to postgreSQL running on
> redhat 7.2. but every time i try to connect MS Access, the error pops up.
> error: "ODBC --call failed.
> could not connect to server;
> could not connect to remote socket."
>
> i've checked that firewall on redhat 7.2 was disable via lokkit.
> i've created root as a postgreSQL user.
> i've aslo allow host ip win2k to access postgreSQL.
> i've used the latest ODBC driver for postgreSQL
> i use root account to connect MS Access to postgreSQL.
You don't need root as a PostgreSQL user, but you've taken most of the obvious
steps.
One thing to try is open up a command-prompt and type something like:
telnet 192.168.1.2:5432
Where 192.168.1.2 is the IP address of your PostgreSQL machine. Type a few
characters and hit return once or twice and you should get an error message
back from PG saying connection refused.
If you can't connect using telnet, then either:
1. The firewall is still there
2. PG isn't listening on socket 5432
Check your postgresql.conf file and make sure you are accepting tcp/ip
connections. Also check your settings in pg_hba.conf
Hope that gets you started - reply back to the list if you still have
problems.
--
Richard Huxton
Archonet Ltd
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-03-12 08:55 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-03-12 07:08 MS Access error "could not connect to remote socket" chor kim seng <ksc133@singnet.com.sg>
2004-03-12 08:55 ` Richard Huxton <dev@archonet.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