Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dark-star
10 months ago
|
parent
|
context
|
favorite
| on:
Simple Web Server
cd /some/dir && python -m http.server 8080
__fst__
10 months ago
|
next
[–]
python3 -m http.server -d /path/to/dir
rad_gruchalski
10 months ago
|
parent
|
next
[–]
Don’t forget 8080. http.server binds on port 8000 by default :].
globular-toast
10 months ago
|
root
|
parent
|
next
[–]
Why is 8080 more likely to be available than 8000?
rad_gruchalski
10 months ago
|
root
|
parent
|
next
[–]
Don’t worry, it’s a misunderstanding.
enriquto
10 months ago
|
prev
|
next
[–]
mini_httpd -p 8080 # and no need to install a whole python interpreter
em-bee
10 months ago
|
parent
|
next
[–]
most people will have python installed already, but not mini_httpd.
disambiguation
10 months ago
|
prev
[–]
docker pull nginx
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: