Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BGOPC opened this issue Feb 26, 2022 · 0 comments

Comments

@BGOPC
Copy link

BGOPC commented Feb 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant