ERROR listen eaddrinuse when I reload for the second time the forum
-
Seems like you don't stop nodebb when you close the first instance. I don't really know how vagrant works, but:
Try running
sudo netstat -tulpn | grep :4567
It should give you something like:
tcp 0 0 0.0.0.0:4567 0.0.0.0:* LISTEN 12345/nodejs
where 12345 is the Process ID. You can kill the instance by doing
sudo kill -9 12345
.Or probably you can do something like
./nodebb stop
(dunno actually)? -
I think it's something with vagrant, so when you do
./nodebb dev
it loads it in background or whatever, so you can kill it.
Try to do./nodebb start
(instead ofdev
), so you can stop it with./nodebb stop
, or do something that lets you manually kill./nodebb dev
(normally withctrl^c
)
Copyright © 2024 NodeBB | Contributors