简体   繁体   English

无法连接到 MFQ:1433 nodejs

[英]Failed to connect to MFQ:1433 nodejs

In my local machine there is no connection issue, but after I pushed to the server and run the node js project it throws an exception:在我的本地机器中没有连接问题,但是在我推送到服务器并运行节点 js 项目后,它会引发异常:

Failed to connect to MFQ:1433 - Could not connect (sequence)无法连接到 MFQ:1433 - 无法连接(序列)

  • Node js connected to the sql server throw the mssql module连接sql服务器的nodejs抛出mssql模块
  • I have started sql server browser我已经启动了 sql 服务器浏览器
  • In my local machine it working perfectly在我的本地机器上它工作得很好

截屏

Hi so this because the SQL Server Browser service is not running on the database server, and port 1433 on the database server must be reachable.嗨,这是因为 SQL 服务器浏览器服务未在数据库服务器上运行,并且必须可以访问数据库服务器上的端口 1433。

To check the status of the SQL Server Agent:检查 SQL 服务器代理的状态:

  • Log on to the Database Server computer with an Administrator account.使用管理员帐户登录到数据库服务器计算机。
  • Start Microsoft SQL Server Management Studio.启动 Microsoft SQL 服务器管理工作室。
  • In the left pane, verify the SQL Server Agent is running.在左窗格中,验证 SQL 服务器代理正在运行。
  • If the SQL Server Agent is not running, right-click SQL Server Agent, and then click Start.如果 SQL 服务器代理未运行,请右键单击 SQL 服务器代理,然后单击启动。
  • Click Yes.单击是。
  • On the File menu, click Exit.在文件菜单上,单击退出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ConnectionError:无法连接到MyServer:1433 - ConnectionError: Failed to connect to MyServer:1433 无法连接到本地主机:1433-连接ECONNREFUSED 127.0.0.1:1433 - Failed to connect to localhost:1433 - connect ECONNREFUSED 127.0.0.1:1433 Node.js MSSQL tedius ConnectionError: Failed to connect to localhost:1433 - connect ECONNREFUSED - Node.js MSSQL tedius ConnectionError: Failed to connect to localhost:1433 - connect ECONNREFUSED ConnectionError [SequelizeConnectionError]:无法连接到:1433 - 无法连接(序列)本地机器 window 10 - ConnectionError [SequelizeConnectionError]: Failed to connect to :1433 - Could not connect (sequence) local machine window 10 无法在 15000 毫秒内连接到 mydb.database.windows.net:1433(Microsoft Azure SQL 数据库) - Failed to connect to mydb.database.windows.net:1433 in 15000ms (Microsoft Azure SQL Database) ConnectionError:无法在nodeJS中的mssql中进行连接 - ConnectionError: Failed to connect in mssql in nodeJS 括号错误:无法连接到NodeJ - Brackets error: failed to connect to NodeJs 套接字在握手nodeJS之前无法连接 - Socket failed to connect before handshake nodeJS NodeJS Express JS-MongoError:无法连接到服务器 - NodeJS Express JS - MongoError: failed to connect to server Node.js在服务器(Ubuntu)上连接到猫鼬失败,但在本地工作 - Nodejs connect to mongoose failed on server(ubuntu), but worked on local
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM