Advertisement
Infra_HDC

run python buid-in http server

Mar 22nd, 2022
1,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. user@host:~$ sudo python3 -m http.server 80
  2. Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ...
  3. 192.168.4.6 - - [22/Mar/2022 12:24:37] "GET / HTTP/1.1" 200 -
  4. 192.168.4.6 - - [22/Mar/2022 12:24:38] code 404, message File not found
  5. 192.168.4.6 - - [22/Mar/2022 12:24:38] "GET /favicon.ico HTTP/1.1" 404 -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement