简体   繁体   中英

Connection with SQL Server 2014 with node js

I am unable to connect to my SQL Server 2014 from node server.

I get this error:

Failed to connect to 192.168.1.3,2207:2207:1433 - getaddrinfo ENOTFOUND 192.168.1.3,2207:2207'

TCP port also enabled but same issue

By using knex i resolve this problem

connection: { server : 'IP Address', user : 'sa', password : '******', database : '*****', options: { port: 14831
} }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM