Hi, I'm trying to connect using Pervasive ODBC connection, but for some reason I get COnnection Refused... I tried with a valid u/p to usually connect to the server and I get nothing (connection refused).
Any ideas ?
(using PHP 5.2 -> I do have the latest DLL file from the repository)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This error normally occurs if the ODBTP service is not running on the target machine. You need to verify that client computer can access port 2799 on the remote machine. You can verify this using "telnet server-ip 2799" via the command line.
-- bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Warning: [ODBTPERR][0]Unable to connect to server (Connection refused) in C:\wamp\www\BILLING\index.php on line 11
$con = odbtp_connect( '192.168.0.145',
'DRIVER={Pervasive ODBC Client Interface};UID=XX;PWD=XX;SERVER=192.168.0.145;DATABASE=SAMINC;' ) or die;
Hi, I'm trying to connect using Pervasive ODBC connection, but for some reason I get COnnection Refused... I tried with a valid u/p to usually connect to the server and I get nothing (connection refused).
Any ideas ?
(using PHP 5.2 -> I do have the latest DLL file from the repository)
This error normally occurs if the ODBTP service is not running on the target machine. You need to verify that client computer can access port 2799 on the remote machine. You can verify this using "telnet server-ip 2799" via the command line.
-- bob
That was it ! I thought if you installed ODBTP in PHP it would magically work with ODBC directly without needing anything on the server itself...
Then I clicked this afternoon that it could have something to do with the server.
So I installed the winservice on it and then I was able to connect.
Thanks a lot for the feedback. Saved me a lot of research time.