I have a database in Azure SQL, and developed a rest API in node.js. Whenever I was using SWORM npm package for connecting Azure SQL Database it is throwing an error:
"message": "Failed to connect to undefined:1433 - connect ECONNREFUSED 127.0.0.1:1433", "code": "ESOCKET"
Can anyone help me with this? Why it is showing this error?