get Error: listen EADDRINUSE :::3000 but website seems ok, still concerned that it might not be working propperly
I created a simple website with express, with chat feature using sockect.io. I was told that the conversations where droping all the time so I checked if I had any errors and I found this.
Error: listen EADDRINUSE :::3000
but after doing sudo lsof -iTCP -sTCP:LISTEN -P
I see only one app running on port 3000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-r 699 systemd-resolve 13u IPv4 15747 0t0 TCP localhost:53 (LISTEN)
sshd 1006 root 3u IPv4 19017 0t0 TCP *:22 (LISTEN)
sshd 1006 root 4u IPv6 19028 0t0 TCP *:22 (LISTEN)
nginx 3800 root 6u IPv4 226644 0t0 TCP *:80 (LISTEN)
nginx 3800 root 7u IPv6 226645 0t0 TCP *:80 (LISTEN)
nginx 3804 www-data 6u IPv4 226644 0t0 TCP *:80 (LISTEN)
nginx 3804 www-data 7u IPv6 226645 0t0 TCP *:80 (LISTEN)
node\x20/ 3955 bruno 12u IPv6 227645 0t0 TCP *:3000 (LISTEN)
any idea how to get rid of that error?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×