• host: 'whatdoIputhereifIamrunningalocalserverw¬≠ithexpress',

    Your esp and your server must be in the same network and can "see" each other (connecting to the same wifi router would be the easiest way to get this to happen).

    I am not familiar with express, but you have to run your server bound to an external ip. So that way the host would be something like instead of localhost.

    In order to test if your server is connectable, it might be easier to use your phone instead of the esp. On the phone browser, if you can connect to the express server via the ip address, then that's the same address you will use on the esp.


Avatar for parasquid @parasquid started