[PYTHON] If you get Error: That port is already in use. In Django

It's a complete memorandum.

When you want to open a port

ps aux | grep -i manage

The following is displayed

Username 778 0.0  0.1  4349020   4252   ??  S    31May20   0:39.16 /System/Library/CoreServices/RemoteManagement/SSMenuAgent.app/Contents/MacOS/SSMenuAgent
Username 775 0.0  0.0  4333584   1012   ??  S    31May20   0:02.50 /System/Library/CoreServices/backgroundtaskmanagementagent
Username 771 0.0  0.0  4337392   1720   ??  S    31May20   0:24.40 /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent
Username 85298 0.0  0.0  4268040    788 s002  S+    9:15PM   0:00.00 grep -i manage

Select the PID you want to kill

kill -9 85298

Recommended Posts

If you get Error: That port is already in use. In Django
If you get a Programming Error: (1146, "Table'<table name>' doesn't exist") in Django
If you get the error "basis matrix is singular to working precision" in GLPK
Solution if you get 0xxx ascii coding error in superset
Solution if the module is installed in Python but you get an error in Jupyter notebook
Resolve the Address already in use error
If you get a no attribute error in boto3, check the version
[Django] Error when SlugField is specified in .filter ()
Date of Address already in use error in Flask
Error in Flask OSError: [Errno 98] Address already in use
What to do if you get a "No versions found" error in pipenv
[Python] What to check when you get a Unicode Decode Error in Django
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
The day you killed the process (flask gave an error saying Address already in use)
What to do if you get "(35,'SSL connect error')" in pycurl (one of them)
What to do if you get an error when importing matplotlib in Python (Mac)
BigQuery-If you get a Reason: responseTooLarge error in Python
If you encounter a "Unicode Decode Error" in Python
When you get an error in python scraping (requests)
What to do if you get Swagger-codegen in python and Import Error: No module named
What to do if you get a Cannot retrieve metalink for repository error in yum
What to do if you get an error when running "certbot renew" in CakePHP environment
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if you get "coverage unknown" in Coveralls
Automatically get the port where Arduino is stuck in Python
A memorandum that you will often use in Python's Selenium
[Pandas speedup] If you think merge is slow, use map
· Address already in use solution
Here are some grammars that you might get a slapstick face if you know it in Python
What to do if you get an error saying c compiler cannot create executables in configure
What to do if you get a must override `get_config` error when trying to model.save in Keras
If you get stuck in Cannot load mkl_intel_thread.dll in Python on Windows
What to do if you get a minus zero in Python
Check if you can connect to a TCP port in Python
What to do if you can't use the trash in Lubuntu 18.04.
If you should have pip installed but get an Import error
What to do if you get an error like'Qstring' has already been set to version 1 using mne python
What to do if you get angry with "Value Error: unknown local: UTF-8" in python manage.py syncdb
Use fabric as is in python (fabric3)
Get parameter values ​​in Django templates
Get the query string (query string) in Django
What to do if you can't use scikit grid search in Python
What to do if you get lost in file reference with FileNotFoundError
What to do if you get angry in TensorFlow v2 without attribute'app'
If you can't import even though it is already installed by pip
If you want to get multiple statistics with groupby in pandas v1
What to do if you get an error when trying to load mnist
If you want to count words in Python, it's convenient to use Counter.
If you feel that you can't find the Object Inspector in recent Spyder
What to do if you get an error when installing Dlib (Ubuntu)
What to do if you get an error when trying to send a message in tasks.loop () immediately after startup
If you use Pandas' Plot function in Python, it is really seamless from data processing to graph creation