node.js连接sqlserver数据库报错

[DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.

可能是nodejs采用https访问数据库时,不可以直接书写ip地址,得改成域名