Skip to content

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

@BGOPC

Description

@BGOPC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions