How to change port on simplehttpserver in linux?

Solution 1:

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

$ python -m SimpleHTTPServer <port_number>