the code isnt mine, but it seems it comes from a good source. When i upload the code, it just stays at 'Connecting to 'ssid'', but doesnt provide the ip address or allow me to connect to it. ive made a web server before and it did work, so there shouldnt be a problem with the esp32 im using.
i havent put the entire code, just whats related to starting the webserver. ps im very new to this
I almost always use the same esp32 you have for experiments or testing sketches here so that is a good choice. You need to be 100% sure you spelled the SSID and password exactly the same and that there are no unprintable characters.
Maybe the best thing to do is remove any password fro the router and change the SSID to something very simple like MYROUTER. If that works, try adding the old password back to the router and the sketch If that works change the ssid in both the router and the sketch. If that fails the SSID or password may be too lon, keep them below 30 characters.
I added a custom ssid and password by accident instead of my actual internet. I had done something similar like that in a previous attempt so I had assumed it would work. If my English isn’t clear I mean i added my actual internet info for it to work