Web servers can be spun up quickly on the command line but with gotchas.
php -S 127.0.0.1:8080
Take the innocent PHP web server
cli. Best not to use PHP
’s web server
cli
(even for PHP) because routes with a dot (.) are
assumed to be
static files. Use a real web server
or superior cli
web servers with minor gotchas.
python -m http.server --bind 127.0.0.1 8080
busybox httpd -f -p 127.0.0.1:8080
ruby -run -e httpd . -p 8080