Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to change port from 8000 on simplehttpserver in linux?

share|improve this question
Please tell me you at least tried a cursory google search before posting this question? – EEAA Apr 12 '11 at 2:27
@EEAA My google search took me here! – Eric Wilson Apr 7 '15 at 22:47

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

$ python -m SimpleHTTPServer <port_number>
share|improve this answer
And now the first google result for "simplehttpserver change port" is this page – Steve Blackwell Jan 9 '14 at 3:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.