简体   繁体   English

无法在Ubuntu 16.04上运行Mean Application

[英]Unable to run Mean Application on Ubuntu 16.04

I have tried many times to create an app but unable to run. 我已经尝试过多次创建应用程序,但是无法运行。 Command: gulp 指令:gulp

this error every single time 每次都会出现此错误

 Error: listen EADDRINUSE :::5858 at Object.exports._errnoException (util.js:1018:11) at exports._exceptionWithHostPort (util.js:1041:20) at Agent.Server._listen2 (net.js:1258:14) at listen (net.js:1294:10) at net.js:1404:9 at _combinedTickCallback (internal/process/next_tick.js:83:11) at process._tickCallback (internal/process/next_tick.js:104:9) [19:59:20] [nodemon] watching 174 files 

It's is probably running in the background or some other process maybe bound to the port, 它可能在后台运行,或者可能绑定到端口的其他进程,

try following command, 尝试执行以下命令,

netstat -tulpn

get the pid of the process bound to the port and kill it using 获取绑定到端口的进程的pid并使用杀死它

kill <pid>

try the first command again if it's still there try, 如果仍然存在,请再次尝试第一个命令,

kill -KILL <pid>

And try running again 并尝试再次运行

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM