pythonnginxpylonspastepaster

Pylons: address already in use when trying to serve


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?


Solution

  • 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.