如何从错误中释放 localhost:听 EADDRINUSE [英] how to release localhost from Error: listen EADDRINUSE

查看:12
本文介绍了如何从错误中释放 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆