6.1.4. URL-style connection strings

Local URL-style connection strings have already been introduced.

A remote URL-style connection string consists of:

  1. a protocol name (inet or wnet) followed by a colon and two slashes (“://”)

  2. a server name or IP address

  3. an optional colon (“:”) plus port number or service name

  4. a slash (“/”)

  5. either the absolute path + filename on the server machine, or an alias defined on the server machine.

Examples:

  • On Linux/Unix:

    1. inet://pongo//opt/firebird/examples/empbuild/employee.fdb
    2. inet://bongo:3052/fury
    3. inet://112.179.0.1//var/Firebird/databases/butterflies.fdb
    4. inet://localhost/blackjack.fdb
  • On Windows:

    1. inet://siamang/C:\Biology\Data\Primates\Apes\populations.fdb
    2. inet://sofa:4044/D:\Misc\Friends\Rich\Lenders.fdb
    3. wnet://inca:fb_db/D:\Traffic\Roads.fdb
    4. wnet://127.0.0.1/Borrowers

Since XNET is a purely local protocol, you can’t have remote connection strings starting with xnet://.