本文介绍了如何从错误中释放localhost:侦听EADDRINUSE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在测试Windows 7上用nodejs编写的服务器 当我尝试在命令行中运行测试仪时,出现以下错误
i am testing a server written in nodejs on windows 7 and when i try to run the tester in the command line i get the following error
Error: listen EADDRINUSE at errnoException (net.js:614:11) at Array.0 (net.js:704:26) at EventEmitter._tickCallback (node.js:192:40)如何在不重新启动的情况下进行修复?
how can I fix it without rebooting?
推荐答案这表示您正在尝试将服务器绑定到的地址.尝试另一个端口或使用该端口关闭程序.
It means the address you are trying to bind the server to is in use. Try another port or close the program using that port.
更多推荐
如何从错误中释放localhost:侦听EADDRINUSE
发布评论