Accept external access with SimpleHTTPServer
Easily start an externally accessible web server
- There are times when you want to receive Web access from outside the local host to check the operation.
- If python is included, you can start the web server with the following command (port opening in the firewall is required separately)
python -c "import BaseHTTPServer as bhs, SimpleHTTPServer as shs; bhs.HTTPServer(('192.168.1.1', 8888), shs.SimpleHTTPRequestHandler).serve_forever()"