mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-10 06:51:13 +00:00
New posts
This commit is contained in:
parent
cdc9540b1a
commit
ecedff9c55
2 changed files with 43 additions and 0 deletions
14
content/blog/quickpythonhttp.md
Normal file
14
content/blog/quickpythonhttp.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: "Quick Python: HTTP Server"
|
||||
date: 2020-04-18T17:15:09-04:00
|
||||
draft: false
|
||||
tags: []
|
||||
---
|
||||
|
||||
You can use Python to quickly spin up a HTTP server. A common use case for me is to quickly transfer files to mobile devices in my internal network.
|
||||
|
||||
```python
|
||||
python -m http.server
|
||||
```
|
||||
|
||||
This will likely start an HTTP server on port 8000 on your machine listening to all network interfaces.
|
Loading…
Add table
Add a link
Reference in a new issue