Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
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.
Try to run LS this way:
label-studio --port 8090
@makseq , didn't help, same error.
Another idea - you firewall blocks the connection. Try to run terminal as administrator, then run LS.
@makseq unfortunately, I have been doing this as admin all along, still no luck.
@bit-scientist can you share log from this command?
label-studio --port 9090