serve
serve copied to clipboard
confusing debug-info when serving localhost only
when i run serve like:
serve -l tcp://localhost:8888
i get this debug output:
┌───────────────────────────────────────────────────┐
│ │
│ Serving! │
│ │
│ - Local: http://127.0.0.1:8888 │
│ - On Your Network: http://192.168.0.111:8888 │
│ │
└───────────────────────────────────────────────────┘
this is strange, i did not ask it to serve on the external IP address. in fact, the whole reason i am specifying the command-line is to not serve on the external IP address, only on localhost.
but if i test it with curl
for example, it seems to only serve on localhost
, not on the external IP address, so i assume only the debug output is incorrect.