2

enter image description here

Ethernet shield problem. When running the WebServer example sketch, the Serial Monitor shows that server is at 0.0.0.0. Any suggestions how to debug it?

1

That's what it's supposed to be. It's called INADDR_ANY. Read an introductory text on networks and you'll understand what that means.

If you try to connect to the IP address you specified, you'll see that you can indeed connect.

1
  • Unfortunately this is not the case in my case :/ Jul 6 '17 at 23:06
1

The arduino only tells what it reads from the ethernet module and 0.0.0.0 is what you get when Arduino is not connected to it. It's a hardware problem, you either didn't connect the wires right or something's fried. I think it can also happen if your ethernet cable is unplugged.

This is absolutely not a sign that your module is accepting all connections. It would be the case if you set it that way but you are obviously expecting another ip adress. Someone should delete that answer.

1
  • If another answer is incorrect then it should be downvoted
    – Mazaryk
    Oct 29 '17 at 15:37
1

If possible, try running the same code on an identical Arduino. I had a similar issue, and it turned out one of my ICSP pins were burned.

Contrary to other answers here, the IP address will show the correct value in the Serial Monitor even though nobody is connected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.