Traceback (most recent call last):
File "./main.py", line 52, in <module>
server = socketserver.TCPServer((static.HOST, static.PORT), tnc.TCPRequestHandler)
File "/usr/lib/python3.8/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./main.py", line 55, in <module>
server.server_close()
NameError: name 'server' is not defined
^CException ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown
lock.acquire()
KeyboardInterrupt: