question: start_http_server - how to prevent it from accepting external connection? #808
Unanswered
yxiang92128
asked this question in
Q&A
Replies: 1 comment
-
Hello, I converted this to a discussion as it is a question not an issue with the library. To make sure the server created by start_http_server(8000, addr="127.0.0.1") would start a server on port 8000 that can only be accessed locally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of our InfoSec hardening requirement, we need to make sure this REST server does NOT accept any connection from an external IP other than internally from within the same host. Is there a parameter we can pass in or anything we could to do to make sure of this?
thanks
Beta Was this translation helpful? Give feedback.
All reactions