I use a MKR 1010 (firmware 1.2.1), download WifiNINA library (version 1.3.0) and started to play with it.

I can connect to my Wifi network, and WifiNINA library examples such a WifiPing (which repeatedly pings www.google.com) works fine.

However, I can't get any of the server examples (e.g. WifiWebServer) to work.

I can see that the board connects to the network and gets an IP and the Serial monitor is printing this :

09:11:15.989 -> SSID: OfficeNet
09:11:15.989 -> IP Address:
09:11:15.989 -> signal strength (RSSI):-36 dBm
09:11:15.989 -> To see this page in action, open a browser to

But if I browser to, I never get any answer.

The loop code is just from the example :

void loop() {
  WiFiClient client = server.available();   // listen for incoming clients

  if (client)
  {                             // if you get a client,
    Serial.println("new client");           // print a message out the serial port
  // close the connection:
  Serial.println("client disonnected");

I am never getting inside the if client()loop ("new client" never printed).

Any suggestions?

  • on what port do you start the server? didn't you forget to call server.begin()? – Juraj Jan 12 at 10:07
  • This is the out-of-the-box example code, so port 80, and server.begin() is on the last line of setup() – AirXygène Jan 12 at 10:14
  • is your computer on the same WiFi network? – Juraj Jan 12 at 16:11
  • Yes, same network "OfficeNet". I did some more tests, the arduino can ping google server, but no computer from my network (I tried with 2 of them - and they can ping each other). I forced fixed IP address for all of them, no change... – AirXygène Jan 12 at 18:30
  • is the network mask or is it different? – Juraj Jan 12 at 20:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.