Subject Firebird-Nodejs: [Connection is closed] error
Author Markand Bhatt
Guys, I need your help to connect nodejs to firebird.

I have also posted my question on stackoverflow questions/39429372/firebird- getaddrinfo-enotfound/ 39433949#39433949

I use node-firebird npm package to connect. node-firebird

Following is my code

var Firebird = require('node-firebird');
var options = {}; = 'localhost';
options.user = 'sysdba';
options.password = 'sa123';

app.get('/', function(request, response) {
    Firebird.attach(options, function(err, db) {
        if (err)
            console.log(err); //Here I get error [Connection is closed]

Help me.