Timeline for "Couldn't connect to server" outside of the server
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 17, 2024 at 18:04 | history | edited | Jomy | CC BY-SA 4.0 |
added 10 characters in body
|
| Sep 14, 2024 at 12:55 | comment | added | Henrik supports the community |
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.
|
|
| Sep 13, 2024 at 16:24 | comment | added | Jomy | @schrodingerscatcuriosity thanks for the heads up, I edited my post | |
| Sep 13, 2024 at 16:23 | history | edited | Jomy | CC BY-SA 4.0 |
added 6 characters in body
|
| Sep 13, 2024 at 16:20 | comment | added | Jomy |
@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.
|
|
| Sep 13, 2024 at 15:33 | comment | added | Henrik supports the community |
Does that simple web server listen on <server-ip-address>?
|
|
| Sep 13, 2024 at 15:26 | history | asked | Jomy | CC BY-SA 4.0 |