PaulS:
To me, that doesn't make sense. The IP address of your PC changes all the time. Yet, you don't have trouble using google, and having it route messages back to your PC.What the Wemos gets is a local IP address in your private LAN. The router that issues that address is the one that needs a fixed IP address, and needs to know how to route messages to the Wemos.
String rootPageBody = "<h2>i , l</h2>"; //here is where datas are showedIn the string, i and l are text, not the names of variables. You need to substitute values for those pieces of text before sending that String to the client.
FYI
This is his school project.
Be sure to read sending gps data to google maps into a website. IMMEDIATE HELP - #7 by TheFDR99 - Project Guidance - Arduino Forum
That was a fiasco!
.