I have a question about a problem I'm having running webservers. I've been playing around with running webservers on an RPI Pico W, following the instructions on RPI's website (link here).
My (well, their) code runs fine in my IDE, and seems to connect the Pi to the internet, giving me an IP address. But sometimes when I search for that IP address (to access the webpage), it never loads the page. It doesn't say "page not found" or anything - it just stays loading indefinitely.
I've had it working before with the same code, but only from my phone, and not my laptop (using Safari both times).
I've tried clearing the cache and reloading, to no avail.
I've tried an 'asynchronous' version (i.e. using asyncio library) which let me access the webpage from multiple devices, but still only on phones - it wouldn't load on my laptop.
Is there any reason anyone can think of why it wouldn't load? My first thought is some kind of security system that prevents me from loading potentially insecure sites.
Sorry I can't be more specific as to what the problem is - I'm very new to website stuff!