Problems
I accidentally pressed ctrl + z
on the terminal so that the previously running flask stopped abnormally and the port was still used
I can't run flask again because the port is being used
Solution
Check what ports are being used
sudo ss -tulpn
Kill pid from the port being used
kill -9 4837
Try to run flask again
python3 app.py
Top comments (0)