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

Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions #2571

Open
bit-scientist opened this issue Jun 28, 2022 · 5 comments
Assignees
Labels
configuration problem bug or something isn't working

Comments

@bit-scientist
Copy link

I have newly installed label-studio in new conda env as recommended in the docs. However, when I run label-studio start it outputs:

Current platform is win32, apply sqlite fix
Can't load sqlite3.dll from current directory
=> Database and media directory: C:\Users\user\AppData\Local\label-studio\label-studio
=> Static URL is set to: /static/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 49869
Performing system checks...

System check identified no issues (1 silenced).
June 28, 2022 - 12:25:31
Django version 3.1.14, using settings 'label_studio.core.settings.label_studio'
Starting development server at http://0.0.0.0:8080/
Quit the server with CTRL-BREAK.
Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

I assumed it was because 8080 port was being used for other tasks. To find out I ran netstat -ano | find ":8080", but didn't result in anything.
Also, I saw someone had changed 8080 to 8090 in some related .py file. If that's case here too, which file contains the port info?

Thank you.

@makseq
Copy link
Member

makseq commented Jun 30, 2022

Try to run LS this way:

 label-studio --port 8090

@makseq makseq added problem bug or something isn't working configuration labels Jun 30, 2022
@bit-scientist
Copy link
Author

@makseq , didn't help, same error.

@makseq
Copy link
Member

makseq commented Jun 30, 2022

Another idea - you firewall blocks the connection. Try to run terminal as administrator, then run LS.

@bit-scientist
Copy link
Author

@makseq unfortunately, I have been doing this as admin all along, still no luck.

@triklozoid
Copy link
Contributor

@bit-scientist can you share log from this command?

label-studio --port 9090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration problem bug or something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants