Associate
So I've tried to set up static IP on a ESP32 using this code link, it seems to work, on the serial monitor it prints : WiFi connected & prints the IP address but I just can't connect to the IP. When I type the IP into my browser it says this site can't be reached 192.168.43.201 took too long to respond. The code in the link has html in so I think I should be able to connect but I can't. I then tried to ping the ip from my hub. I get the following :
PING 192.168.43.201 (192.168.43.201): 64 data bytes
--- 192.168.43.201 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
Obviously I have changed my ssid & password in the code (lines 4 & 5) and also changed the gateway & subnet ( lines 34, 35) so I'm really not sure what I'm doing wrong.
Any help greatly appreciated.
PING 192.168.43.201 (192.168.43.201): 64 data bytes
--- 192.168.43.201 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
Obviously I have changed my ssid & password in the code (lines 4 & 5) and also changed the gateway & subnet ( lines 34, 35) so I'm really not sure what I'm doing wrong.
Any help greatly appreciated.