6.1.4. URL-style connection strings
Local URL-style connection strings have already been introduced.
A remote URL-style connection string consists of:
a protocol name (
inet
orwnet
) followed by a colon and two slashes (“://
”)a server name or IP address
an optional colon (“
:
”) plus port number or service namea slash (“
/
”)either the absolute path + filename on the server machine, or an alias defined on the server machine.
Examples:
On Linux/Unix:
inet://pongo//opt/firebird/examples/empbuild/employee.fdb
inet://bongo:3052/fury
inet://112.179.0.1//var/Firebird/databases/butterflies.fdb
inet://localhost/blackjack.fdb
On Windows:
inet://siamang/C:\Biology\Data\Primates\Apes\populations.fdb
inet://sofa:4044/D:\Misc\Friends\Rich\Lenders.fdb
wnet://inca:fb_db/D:\Traffic\Roads.fdb
wnet://127.0.0.1/Borrowers
Since XNET is a purely local protocol, you can’t have remote connection strings starting with xnet://
.