I'm trying to connect a Laravel 5.5 application to a Firebird 4.0 database, but I keep getting this error:
PDOException: SQLSTATE[HY000] [335544721] Unable to complete network request to host
I'm also using the jacquestvanzuydam\laravel-firebird package to connect. Checking the firebird.log on my server, there are no info showing up.
The connection configuration I'm using is
'firebird2' => [
'driver' => 'firebird',
'host' => env('DB_HOST', 'xxx.xxx.xxx.xxx'),
'port' => env('DB_PORT', '3060'),
'database' => env('DB_DATABASE', '/home/database/sample.fdb'),
'username' => env('DB_USERNAME', 'sysdba'),
'password' => env('DB_PASSWORD', 'masterkey'),
'charset' => env('DB_CHARSET', 'WIN1252'),
'collation' => 'WIN1252',
],
The port I'm using is 3060
.