PDA

View Full Version : python http.server not working



BoxLoginInfo
2022-03-26, 20:48
I don't know what happened, but every time I run "python3 http.server 80" I get this error message:

python3: can't open file '/root/http.server': [Errno 2] No such file or directory

I tried reinstalling python to no avail.

DSn0w
2022-06-15, 21:20
Try
sudo python3 -m http.server 80.

:p:p