Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

238
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda