npm Error: listen EADDRINUSE 127.0.0.1:8080

EADDRINUSE 解析:

  E: error

  ADDR : address

  INUSE : in use

翻译 error : address in use ; | 地址已使用,端口被占用

解决办法 :
    1. sudo lsof  -i 8080  : 查看端口使用情况
    2. sudo kill -9 43021  : 杀死展示的PID

原文地址:https://www.cnblogs.com/noraZhang/p/12635365.html

时间: 2024-11-02 15:25:14

npm Error: listen EADDRINUSE 127.0.0.1:8080的相关文章

关于“Error: listen EADDRINUSE: address already in use 127.0.0.1:3000”

今天在做一个Vue小项目的时候,遇到了这样一个bug,终端输入npm run dev指令,本来按照我在package.json文件中配置的命令:"dev": "webpack-dev-server --open --port 3000 --hot",应该会运行webpack工具打包代码后,自动打开浏览器,监听3000端口,但是此时却在终端命令行提示出错,错误信息如下: PS C:\Users\LXD\Desktop\my-vue\vue-cms> npm ru

nodejs出现events.js:72中抛出错误 Error: listen EADDRINUSE

<pre>events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:901:11) at Server._listen2 (net.js:1039:14) at listen (net.js:1061:10) at Server.listen (net.js:1127:5) at Object.<anonymous> (./server

How to fix Error: listen EADDRINUSE while using nodejs

If I run a server with the port 80, and I try to use xmlHTTPrequest i get this error: Error: listen EADDRINUSE Why is it problem for nodejs, if I want to do a request, while I run a server on the port 80? For the webbrowsers it is not a problem: I ca

解决运行nodejs代码Error: listen EADDRINUSE

解决运行nodejs代码Error: <wbr>listen <wbr>EADDRINUSE 错误listen EADDRINUSE 是比较常见的错误.'EADDRINUSE',借助有道的翻译,意思是:错误地址使用.'EADDRINUSE'应该是'error address in use'的缩写.后来借助google找到了合理的解释,说是你监听的端口已经被使用了! 在网上找解决方法,绝大部分是绕道而行--就是把端口改掉.无奈,我只能用80端口.但是怎么办? 在不懂nginx得情况下

windows redis 连接错误Creating Server TCP listening socket 127.0.0.1:637 9: bind: No error

报错信息如下: [10036] 30 Dec 10:23:49.616 # Creating Server TCP listening socket 127.0.0.1:637 9: bind: No error[8660] 30 Dec 10:23:57.132 # Creating Server TCP listening socket *:6379: listen : Unknown error 解决方案如下按顺序输入如下命令就可以连接成功 1. Redis-cli.exe2. shutd

Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE) mac下错误记录

架好的环境运行不了,nginx报错,根据提示是80端口被占用. p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff } span.s1 { } ERROR: for eagledock_nginx_1  Cannot restart container affabde5053648c62dbadb0c0e2f44b371e3f0f0c5058e2

IntelliJ运行下载的Servlet时报错 Error running Tomcat 8.5.8: Unable to open debugger port (127.0.0.1:49551): java.net.SocketException

学习Java Servlet时,从Wrox上下载了示例代码,准备run/debug时发现以下错误: Error running Tomcat 8.5.8: Unable to open debugger port (127.0.0.1:49551): java.net.SocketException "Socket closed" /Users/GuQiang/Tomcat/apache-tomcat-8.5.8/bin/catalina.sh stopUsing CATALINA_B

ERROR: unable to bind listening socket for address &#39;127.0.0.1:9000&#39;: Address already in use (98)

刚安装完PHP,启动时报错: # /etc/init.d/php-fpm start Starting php-fpm [15-Apr-2017 13:21:13] ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98) [15-Apr-2017 13:21:13] ERROR: FPM initialization failed failed 解决方法: #

Celery 提示[ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 61] Connection refused.

[2015-12-27 13:59:14,206: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 61] Connection refused.Trying again in 2.00 seconds... [2015-12-27 13:59:16,222: ERROR/MainProcess] consumer: Cannot connect to amqp://g