Skip to content

Commit

Permalink
Merge pull request #78 from tedder/ted/cpython_port5k
Browse files Browse the repository at this point in the history
use alternate port for CPython example
  • Loading branch information
FoamyGuy committed Feb 1, 2024
2 parents ec9b06f + 00e5698 commit af0a0bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/httpserver_cpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ def base(request: Request):
return Response(request, "Hello from the CircuitPython HTTP Server!")


server.serve_forever("0.0.0.0")
# runs on port 5000; ports < 1024 require sudo.
server.serve_forever("0.0.0.0", 5000)

0 comments on commit af0a0bd

Please sign in to comment.