简体   繁体   English

eaddrinuse错误,我不知道该怎么办

[英]eaddrinuse error i don't know what to do

[2018-02-11T14:41:44.981] [DEBUG] default - { Error: listen EADDRINUSE :::8000
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at Server.setupListenHandle [as _listen2] (net.js:1351:14)
    at listenInCluster (net.js:1392:12)
    at Server.listen (net.js:1476:7)
    at Server.listen.Server.attach (/home/bot/node_modules/socket.io/lib/index.js:237:9)
    at Timeout._onTimeout (/home/bot/site.js:770:29)
    at ontimeout (timers.js:475:11)
    at tryOnTimeout (timers.js:310:5)
    at Timer.listOnTimeout (timers.js:270:5)
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '::',
  port: 8000 }

So i readed about this error and i understood that i need to make config file somewhere with some script in it but that's the problem i don't know where do i make it in this situation 所以我读到了这个错误,我明白我需要在其中放置一些脚本的地方制作配置文件,但这就是我不知道在这种情况下应该在哪里制作的问题

This error means you already have something running on port 8000 (probably another instance of your app). 此错误意味着您已经在端口8000(可能是应用程序的另一个实例)上运行了某些程序。 Close or kill that process and restart. 关闭或终止该过程,然后重新启动。

PS If you are on a UNIX-based system you can run lsof -i 9000 and then kill process by name. PS如果你是一个基于UNIX的系统上,你可以运行lsof -i 9000 ,然后kill的名字过程。

暂无
暂无

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

相关问题 我不知道该怎么办,因为发生错误-> Uncaught TypeError:无法读取null的属性'getContext' - I don't know what to do because an error occurs --> Uncaught TypeError: Cannot read property 'getContext' of null 我知道我想要什么,但我不知道该怎么做! (chrome扩展名) - I know what I want, but I don't know how to do it! (chrome extension) 我不知道该怎么办:“错误类型错误:this.allCities.filter”不是函数,这意味着“filter()”不是函数? - I don't know what to do about this: "ERROR TypeError: this.allCities.filter" is not a function, wthat means that "filter()" is not a function? 我如何解决这个问题:错误:听 EADDRINUSE ... ? - How do i fix this: Error: listen EADDRINUSE ... ? 我的网站正在加载我不知道的外部JS。 我能做什么? - My website is loading an external JS that I don't know. What can I do? if/else 语句似乎在 Javascript 中不起作用,我不知道我做错了什么 - If/else statements just do not seem to be working in Javascript and i don't know what I am doing wrong JavaScript错误:未捕获的TypeError:undefined不是第4行上的函数; 我不知道我做错了什么 - JavaScript error: Uncaught TypeError: undefined is not a function on line 4; I Don't Know What I Did Wrong 关于代码中的函数,我不知道它们对什么意味着什么 - about functions in code that I don't know what they mean for what 我不知道联系表有什么问题 - I don't know what's wrong with contact form 我不知道要在此代码中更改什么才能使其正常工作 - I don't know what to change in this code for it to work
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM