Starting of Rasa Server Failed

I am getting following error while starting the rasa server.

chatbot99@NLP-BACKEND:~/rasa_nlp_backend/Rasa-Back-End$ 2021-12-06 22:15:58 INFO     root  - Starting Rasa server on http://localhost:5005
2021-12-06 22:15:58 INFO     rasa.model  - Loading model models/20211024-223630.tar.gz...
/home/chatbot99/.local/lib/python3.6/site-packages/rasa/utils/train_utils.py:593: UserWarning: constrain_similarities is set to `False`. It is recommended to set it to `True` when using cross-entropy loss. It will be set to `True` by default, Rasa Open Source 3.0.0 onwards.
  category=UserWarning,
/home/chatbot99/.local/lib/python3.6/site-packages/rasa/utils/train_utils.py:565: UserWarning: model_confidence is set to `softmax`. It is recommended to try using `model_confidence=linear_norm` to make it easier to tune fallback thresholds.
  category=UserWarning,
2021-12-06 22:16:15 INFO     root  - Rasa server is up and running.
[2021-12-06 22:16:15 +0000] [4456] [ERROR] Unable to start server
Traceback (most recent call last):
  File "/home/chatbot99/.local/lib/python3.6/site-packages/sanic/server.py", line 891, in serve
    http_server = loop.run_until_complete(server_coroutine)
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "uvloop/loop.pyx", line 1727, in create_server
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 5005): address already in use
^C
[2]+  Done                    rasa run --enable-api --model ./models --cors "*"

Hello & Welcome @hardik2047 I guess you are using VS Code, this is also a command issue (bind on the address) but normally on my Linux machine not on Window machine. Please close the working terminal (on the terminal in which you seeing this error) and again activate the environment and run the command, basically it’s mean that port 5005 is already in use. Follow this and you will good to go.

I hope this will solve you issue and good luck!