We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9b06f commit 8d55322Copy full SHA for 8d55322
examples/httpserver_cpython.py
@@ -19,4 +19,6 @@ def base(request: Request):
19
return Response(request, "Hello from the CircuitPython HTTP Server!")
20
21
22
-server.serve_forever("0.0.0.0")
+# Ports below 1024 are reserved for root user only.
23
+# If you want to run this example on a port below 1024, you need to run it as root (or with `sudo`).
24
+server.serve_forever("0.0.0.0", 5000)
0 commit comments