How to change port on simplehttpserver in linux?

10,145

The following was found in the first result for a google search for "simplehttpserver".

$ python -m SimpleHTTPServer <port_number>
Share:
10,145
user468506
Author by

user468506

Updated on September 18, 2022

Comments

  • user468506
    user468506 over 1 year

    How to change port from 8000 on simplehttpserver in linux?

    • EEAA
      EEAA about 13 years
      Please tell me you at least tried a cursory google search before posting this question?
    • Eric Wilson
      Eric Wilson about 9 years
      @EEAA My google search took me here!
  • Steve Blackwell
    Steve Blackwell over 10 years
    And now the first google result for "simplehttpserver change port" is this page