dev-lu / osint_toolkit

A full stack web application that combines many tools and services for security analysts into a single tool.
MIT License
479 stars 81 forks source link

WinError 10013 #3

Closed DamianMorozov closed 1 year ago

DamianMorozov commented 1 year ago

Trying to run Backend for Windows: py -m uvicorn main:app --reload Get this error

c:\Temp\osint_toolkit@dev-lu\backend>py -m uvicorn main:app --reload
INFO:     Will watch for changes in these directories: ['c:\\Temp\\osint_toolkit@dev-lu\\backend']
ERROR:    [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Trying this commands is not helping me

python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

The error is the same

(.venv) c:\Temp\osint_toolkit@dev-lu\backend>py -m uvicorn main:app --reload
INFO:     Will watch for changes in these directories: ['c:\\Temp\\osint_toolkit@dev-lu\\backend']
ERROR:    [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
dev-lu commented 1 year ago

Is port 8000 available on your machine? Port 8000 is needed for the backend, and port 3000 is needed for the frontend.

DamianMorozov commented 1 year ago

Trying to run backend on another Windows machine. It is success. But then, I trying to run frontend and get other error.

> osint-toolkit@0.1.0 start
> react-scripts --openssl-legacy-provider start
C:\Program Files\nodejs\node.exe: bad option: --openssl-legacy-provider
dev-lu commented 1 year ago

Which Node.js version are you running? It should be at least version 17 or higher.

DamianMorozov commented 1 year ago

Now it's ok. Updating Node.js is helping to run frontend.