Skip to content
Error: listen EADDRINUSE: address already in use :::3000
Profile icon
8Observer8

Hi,

I created a simple example using Node.js and Express. It works as expected: https://repl.it/@8Observer8/My-First-Express-Server-in-TypeScript#src/server/App.ts

But I created a new one and I added Babylon.js game engine. My example does not work: https://repl.it/@8Observer8/BabylonJS-TypeScript#src/server/App.ts I see the error: Error: listen EADDRINUSE: address already in use :::3000

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Profile icon
Alexmejia992

I had the same mistake, and it was because I was traying to start the server using "npm start" on the shell and running the server using the play button at the same time. I could solve this error running the server using only the play button. I hope this can help you.

Profile icon
8Observer8

@Alexmejia992
are you able to run my example or does it say that it is unpublished?