Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

236
Views
events.js:377 throw er; // Unhandled 'error' event

I've started node js and are simply building a node server. I put the same code as the picture below in index.js and executed node index.js. The following error occurred in the terminal below. Can you tell me how to solve it?

enter image description here

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You probably already have a node application open at port 8080.

Try changing your port.

You can check if the PORT number is available by using the command:

netstat -tulnp | grep <port no>

or you can use lsof:

lsof -i :<port no>

about 4 years ago · Juan Pablo Isaza Report

0

You are using restricted port PORT INFO source

try using port 3000

EDIT: You CAN run on a restricted port if you have admin rights

Admin CMD

Proof

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!