Author Options:

What should be result of updating host variable? Answered

Hi Becky, in the WiFiClientBasic example, after changing the code from to a Google site, I would just see in Serial monitor : 'connecting to google.com' and on the next line
'closing connection' and 'wait 5 sec...'.

Should there be an opened Google web site or some message in Serial monitor? What should be expected on display?

The first part of software was OK. Wifi connected and IP address detected.

I am using NodeMcu ESP8266

1 Replies

bekathwiaBest Answer (author)2017-07-10

Looks good! No website launch or anything like that, just no errors and you did it properly. Changing the host name just gives you an easy way to dip your toe in the water of modifying code, there won't be much difference provided it's a valid site name. =D Press on!

Select as Best AnswerUndo Best Answer