I am trying to upload my project to the server. There is already a project on the server. I have a new project that I want to start and replace the old project with a new one, so I pull the new project to the server. Then I activate the virtual environment and do all the necessary work. Then when I try to run the command:
uwsgi --plugins=python --chdir=/var/www/prjt/src/ --socket=127.0.0.1:8889 --module=prjt.wsgi:application &
tell me that
probably another instance of uWSGI is running on the same address (127.0.0.1:8889). bind(): Address already in use [core/socket.c line 761]
I looked for similar problems and found some solutions to destroy all instances of uwsgi mentioned in this answer here
but could not find how to do it.
I am new to this area. Someone can help. I am stuck in this.
Hope the question is clear. thanks in advance
source share