Subject Re: [firebird-support] Connection rejected using Embedded Server
Author Martijn Tonies
Hi Gabe,

> I'm attempting to write an application which takes advantage of the
> FireBird 1.5.1 Embedded server...

Well, perhaps the name "embedded server" is a bit wrong --
it's not a full server that you can connect to via a network protocol.
It's more of an "embedded engine" - that is, a dll that can access
Firebird datafile as if you were connecting to a Firebird server.

More below...

> I'm using Delphi 7 Architect and IBX to access the database.
> I have the following directory structure set up:
> c:\program files\AppName
> c:\program files\AppName\AppName.exe
> c:\program files\AppName\AppName.gdb
> c:\program files\AppName\firebird.conf
> c:\program files\AppName\firebird.msg
> c:\program files\AppName\gds32.dll (the renamed fbembed.dll)
> c:\program files\AppName\ib_util.dll
> c:\program files\AppName\intl\fbintl.dll
> c:\program files\AppName\udf\fbudf.dll
> In my application, I have a TIBDatabase with a DatabaseName property
> of\program files\AppName\AppName.gdb. If I connect to
> the database with the Firebird Server running, it works just fine. If
> I attempt to connect with the server off, ostensibly running the
> Embedded server, I get an EIBInterbaseError saying:
> "Unable to complete network request to host "".
> Failed to establigh a connection.
> No connection could be made because the target machine actively
> refused it.
> ."
> Have I messed something up in the configuration, or is there an
> underlying error? Anyone know where this error might be coming from?

Instead of doing a connection to, you can access
the file directly - only 1 connection at a time. Remove the
IP address and you can use the file.

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Upscene Productions