Advertisement
fkeles

python-http-server-quick-test.sh

Oct 3rd, 2023 (edited)
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | Source Code | 0 0
  1. mkdir -p ~/demo/html
  2. cd ~/demo/html
  3. echo '<h1>Server Running</h1>' > index.html
  4. sudo python3 -m http.server -b 10.0.0.194 80
  5. Serving HTTP on 10.0.0.194 port 80 (http://10.0.0.194:80/) ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement