localhost 3001 拒绝连接

问题描述 投票:0回答:1

我正在开发一个项目,而我的 localhost3001 不断拒绝为此连接任何解决方案heres the image of the issue that i am encountering

我尝试运行我的应用程序,但 localhost3001 拒绝连接

node.js next.js localhost
1个回答
0
投票

您可以在 cmd 上运行 netstat 并检查它是否有 3001 端口。 以管理员身份运行cmd

netstat -ano |查找字符串:3001

检查 PID 的输出并运行它

taskkill /PID /F

更换

<PID>

© www.soinside.com 2019 - 2024. All rights reserved.