Page 1 of 1

esp-idf rest server limit access to localhost

Posted: Fri Mar 18, 2022 10:06 pm
by rosenrot
Dear All,

I'm using the Restful HTTP server example and I wanted to know if somehow I could restrict the access to GET and POST to the localhost.

https://github.com/espressif/esp-idf/bl ... /README.md

Any idea is welcome.

Re: esp-idf rest server limit access to localhost

Posted: Mon Mar 21, 2022 1:35 am
by ESP_Sprite
....why would you want to go through the trouble to spin up an entire server just to query it from the same device? Can you elaborate a bit more on the actual, high-level problem you're trying to solve by querying a server running locally? Asking because this sounds like an X-Y problem to me.