Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Does that simple web server listen on <server-ip-address>? Commented Sep 13, 2024 at 15:33
  • @Henriksupportsthecommunity It does. I started the web server like so: python -m http.server -b <server-ip-address> 80. Curl-ing to the ip address on the server gives a response, on my local machine it does not. Commented Sep 13, 2024 at 16:20
  • @schrodingerscatcuriosity thanks for the heads up, I edited my post Commented Sep 13, 2024 at 16:24
  • But curl localhost that you show is not curl-ing the ip address, and I don't know pythons http.server module, so I can't tell if that is the right way to start that. But I maintain that what you show is consistent with a server process only listening on 127.0.0.1 and not on the ip address of the server. Commented Sep 14, 2024 at 12:55