Nodejs error-throw er; Unhandled ' ERROR ' event

Source: Internet
Author: User

The first look at the Express version of the problem, because there is already another running node project, port duplication, modify the port number, error prompts as follows:

events.js:85      throw er;//unhandled ' error ' event            ^error:listen eaddrinuse at    exports._errnoexception ( util.js:746:11) at    server._listen2 (net.js:1156:14) at    listen (net.js:1182:10) at    Server.listen (net.js : 1267:5) at    Eventemitter.listen (.. node_modules/express/lib/application.js:617:24) at    object.<anonymous> (.. /server.js:26:5) at    module._compile (module.js:460:26) at    object.module._extensions.. JS (module.js:478:10) at    module.load (module.js:355:32) at    function.module._load (module.js:310:12)

Nodejs error-throw er; Unhandled ' ERROR ' event

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.