I have an issue with creating a local server. Here is the error I get:
PS C:\Users\Rostyslav\THE_FOLDER\Studying_materials\Ivan_On_Tech\Ethereum_Smart_Contracts\People_Project\ethereum-course-advanced> python -m http.server 8000
Traceback (most recent call last):
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 1262, in <module>
test(HandlerClass=handler_class, port=args.port, bind=args.bind)
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 1230, in test
with ServerClass(server_address, HandlerClass) as httpd:
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 452, in __init__
self.server_bind()
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 137, in server_bind
socketserver.TCPServer.server_bind(self)
File "C:\Users\Rostyslav\AppData\Local\Programs\Python\Python37\lib\socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
I have tried running PowerShell as administrator and turning off the Firewall and it didnât help.