Results 1 to 2 of 2

Thread: python http.server not working

  1. #1

    python http.server not working

    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.

  2. #2
    Join Date
    2022-Jun
    Posts
    1
    Try
    sudo python3 -m http.server 80
    .


Similar Threads

  1. Replies: 0
    Last Post: 2022-12-21, 09:32
  2. Replies: 2
    Last Post: 2016-10-17, 11:32
  3. Simple Server With Python
    By Doel in forum How-To Archive
    Replies: 2
    Last Post: 2013-09-24, 16:44

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •