With multi-dimensional model as the core, let the factory digital transformation and upgrading “within reach”>>>
The following error is prompted when starting the service:
events.js:72
thrower;//Unhandled'error'event
^
Error:listenEADDRINUSE
aterrnoException(net.js:904:11)
atServer._listen2(net.js:1042:14)
atlisten(net.js:1064:10)
atServer.listen(net.js:1138:5)
atObject.start(/Users/Yao/MyWork/MyProject/node_js/lesson3/server.js:13:31)
atObject.<anonymous>(/Users/Yao/MyWork/MyProject/node_js/lesson3/index.js:10:8)
atModule._compile(module.js:456:26)
atObject.Module._extensions..js(module.js:474:10)
atModule.load(module.js:356:32)
atFunction.Module._load(module.js:312:12)
After investigation, it is found that another service that has been started uses the same port. The solution is to change the port number or stop the previous service
Similar Posts:
- Nodejs throws an error when listening to the port under Linux
- Throw Er of node error// Unhandled ‘error’ event solution
- Error: listen EADDRINUSE :::3000
- After installing nodejs, running NPM – V will cause (module. JS: 339 throw err..) error. Solution
- Error: listen eaddinuse: 4000 [How to Solve]
- How to Solve Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor’
- [Solved] Nodejs Error: Cannot find module ‘express’
- Solution to the failure of node rdkafka in docker build
- Module build failed: Error: Cannot find module ‘node-sass’
- Completely Uninstall Node.js from Mac OS X