This is my first time looking for help on the forum, I just got started with Arduino in Jan this year, with no real programming experience. The forum had been great getting my this far along, but haven't found a answer to my problem below.
I'm using a Sunflower W5100 ethernet shield, with a Elegoo Mega, with mixed success. I am sending DHT11 data to a web page over the internet. Right now I'm using my external IP address and port forwarding on my Netgear WNDR3400 router. It actually functions fine, but when a request goes to the server, sometimes the server responds perfectly, or sometimes does not respond at all. Several requests may go thru OK then it stops responding. I may be hours before it responds again. I have found a way get it to respond right a way by pinging the server IP on my LAN, this gets it working immediately, but for how long is a unknown. Its also counterproductive if I have to"restart by sending a ping from my own LAN.
If i need to include more info, please let me know.
Thank for any help you can provide.
Bill
WebServerand_PhotocellWJS06.ino (2.99 KB)