When executing the code in the Linux environment with the command python3 -u mtfan.py
Report the following error:
ERROR: [Errno 98] Address already in use
Seeing this error, it probably means that the port is already occupied. Use the command to check whether the port is occupied: netstat -apn|grep 8090
Then kill
the process, kill -9 16203
, and then execute it again.