0

I'm trying to disable the web interface of the ESP autoconnect library, as i use it only for setting up a WiFi connection and settings for my project. Beyond the initial setup i only need the web interface to be accessible if a condition in my program is met.

So far i've been able to deny access to the web interface by putting my portal.handleClient(); call into an if statement, but the web server itself remains visible over the network. Is there any function that can disable the web server completely during setup without interfering with the network connection and saved variables and parameters set by autoconnect?

4
  • 3
    what do you mean by "the web server itself remains visible over the network"? – Juraj Jun 6 at 11:58
  • I think what they mean is have the webserver no longer listening and bound to the port as opposed to what they're currently doing, which is something like serving access denied type responses with 403 status. – timemage Jun 7 at 12:14
  • 1
    @timemage precisely. – Boyfinn Jun 7 at 14:46
  • You may want to add language to that effect in the question just to make it clear. – timemage Jun 7 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.