Chat-Web-App icon indicating copy to clipboard operation
Chat-Web-App copied to clipboard

os error: win error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted

Open BGOPC opened this issue 3 years ago • 0 comments

Hey I didn't watch the second part completely but when I run the main.py I receive this error :

Exception in thread Thread-1 (run_server):
Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python310\lib\threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Behrad\AppData\Roaming\Python\Python310\site-packages\flask_socketio\__init__.py", line 607, in run_server
    eventlet_socket = eventlet.listen(addresses[0][4],
  File "C:\Users\Behrad\AppData\Roaming\Python\Python310\site-packages\eventlet\convenience.py", line 78, in listen
    sock.bind(addr)
OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

how do I fix it??

my py version: 3.10.1 my os: windows 10 I have installed all of the packages please help me, thanks

BGOPC avatar Feb 26 '22 06:02 BGOPC