• if pings works your pc is connected to ESP AP

    than add this code and connect to http://19.168.4.1:8080 with a browser

    var server = http.createServer(function (req, res) {
          res.writeHead(200);
          res.write('<html><body><H1>Hello World</H1></body></html>');
    });
    
    server.listen(8080);
    
  • Mark, Thank you.

    This is puzzling as I mentioned I was able to ping the device in post #1 above.
    Have used many variants like the one you so graciously provided, and all I get this time with the above snippet and typing 192.168.4.1:8080 into browser is:

    This site can’t be reached

    192.168.4.1 took too long to respond.
    Search Google for 192 168 8080
    ERR_CONNECTION_TIMED_OUT

    Unable to get the router to forget the IP using factory defaults without the possibility of having to make a service call at cost from a device reset.

    This might rule out whether Windows 10 or the router is part of the issue.

    I note that sta is not config:

    wifi.getStatus()
    {
      "mode": "sta+ap",
      "station": "off",
      "ap": "enabled",
      "phy": "11n",
      "powersave": "none",
      "savedMode": "off"
     }
    wifi.getIP()
    {
      "ip": "0.0.0.0",
      "netmask": "0.0.0.0",
      "gw": "0.0.0.0",
      "mac": "5c:cf:7f:88:f4:a0"
     }
    wifi.getAPIP()
    {
      "ip": "192.168.4.1",
      "netmask": "255.255.255.0",
      "gw": "192.168.4.1",
      "mac": "5e:cf:7f:88:f4:a0"
     }
    wifi.getAPDetails()
    {
      "status": "enabled",
      "authMode": "open",
      "hidden": false, "maxConn": 4,
      "ssid": "ESP_88F4A0",
      "password": "",
      "savedSsid": null,
      "stations": [  ]
     }
    
About

Avatar for MaBe @MaBe started