Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

python3 -m http.server 80 ERROR. #457

Open
yNOtOmosh opened this issue Apr 18, 2023 · 0 comments
Open

python3 -m http.server 80 ERROR. #457

yNOtOmosh opened this issue Apr 18, 2023 · 0 comments

Comments

@yNOtOmosh
Copy link

I am trying to pass the server command "python3 -m http.server 80" and it is resulting in this error
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/lib/python3.11/http/server.py", line 1309, in
test(
File "/usr/lib/python3.11/http/server.py", line 1256, in test
with ServerClass(addr, HandlerClass) as httpd:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socketserver.py", line 456, in init
self.server_bind()
File "/usr/lib/python3.11/http/server.py", line 1303, in server_bind
return super().server_bind()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/http/server.py", line 136, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.11/socketserver.py", line 472, in server_bind
self.socket.bind(self.server_address)
PermissionError: [Errno 13] Permission denied

kindly assist in finding a solution

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

No branches or pull requests

1 participant