Create localhost webserver simple http server
- Get link
- X
- Other Apps
Using PYTHON
$ python -m SimpleHTTPServer 8000
This will start a webserver listening on port 8000 and serving files from the current directory.
Using PYTHON 3
python -m http.server
Using PHP
$ php -S localhost:8000
Using Ruby with Rack
$ rackup -b "run Rack::Directory.new('.')"
- Get link
- X
- Other Apps
Comments
Post a Comment