当我运行时,它说端口3000正在使用
我知道许多方法已经作为解决方案出现。 但是,正如您在图片中看到的那样,当我在“ CMD”中搜索端口3000时,使用中的过程不会出现。 在8080的情况下,它出现了,因为Spring Boot服务器正在运行,但是对于“ React”,即使没有图片所示的端口3000的过程,” '。被打印出来。
我正在使用翻译器,因此可能很难理解,但是帮助您将不胜感激。
I know that many methods have already come out as solutions.
However, as you can see in the picture, when I search for port 3000 in 'cmd', the process in use does not appear.
In the case of 8080, it comes out well because the Spring Boot server is running, but in the case of 'React', even if there is no process using port 3000 as shown in the picture, 'Something is already running on port 3000'. is printed out.
I'm using a translator so it might be difficult to understand, but any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过:
使用
:3000而不是3000
taskkill /pid< pid> /f
杀死“聆听”的权利,杀死该过程,只需替换为PID即可。如果无效,则可以重新启动PC。
注意:即使重新启动后,有些人也遇到了此错误,但设法通过此命令解决了问题:
npx Kill-port 3000
Have you tried:
Running cmd as admin
Using :3000 instead of 3000
taskkill /PID <PID> /F
kills the process, just replace with the PID, to the right of "listening".If none works, you could just restart the pc.
NOTE: some people have encountered this error even after restarting, but managed to solve the problem with this command:
npx kill-port 3000
这意味着您已经启动了另一个实例...关闭计算机可以正常工作,但是还有另一个解决方案
在Windows中,只需打开Ressource Monitor(任务管理器 - &gt; performance - &gt; open ressource Monitor),然后打开听力端口并检查3000是否已经在运行
This means you have launched another instance before... Switching off the computer can work but there is another solution
In windows, just open the Ressource Monitor (Task Manager -> Performance ->Open Ressource Monitor) then open the Listening port and check if 3000 is already running