ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By dth
#41060 Great project, good job!!!

I make a query. I want to change the port without rebooting.
Is there a method to stop the service?

As apache has start/stop/restart?

Thanks
User avatar
By Sprite_tm
#41111 No, sorry, there's no way to stop the webserver yet; I haven't implemented it because there's not too many use cases for this. Why would you want to do this, if I may ask?
User avatar
By dth
#41120 Oh , really can not?
I'm with a project that should start on port 80 and then switch to a non- standard port, for example port 3000.
That is, always starts on port 80 and after a few seconds switches to another port.
User avatar
By Sprite_tm
#41139 Yes, I understand you have to switch ports, you said that earlier, but can you tell me _why_ you have to switch ports after 10 seconds?