I'm running pylons and I did this: paster server development.ini It's running on :5000
But when I try to run the command again: paster serve development.ini
I get this message: socket.error: [Errno 98] Address already in use
Any ideas?
I've found this trick in a forum:
This will kill all programs listening to port 5000
kill -9 `fuser -n tcp 5000`
Normally that means it's still running, but that should only happen if it's in daemon mode. After you started it, do you get a command prompt, or do you have to stop it with Ctrl-C?
If you get a command prompt back it's deamon mode and you have to stop it with
paster server development.ini stop
If you have stopped it with Ctrl-C (and not Ctrl-Z of course), I have no idea.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With