Arduino fails to run built-in Web Client example Program on Ethernet Shield

Dear Friends,

I am using Arduino IDE 1.8.4 to teach various programming examples to my B.Tech.(CSE) students.

Using ArduinoUNO R3 Board stacked with WIZnet W5100 Ethernet Shield, I am experimenting with various programming configurations (Web Server and Web Client) of this Ethernet shield with the help of built-in examples.

I could successfully configure the Ethernet Shield as Web Server using the supplied example program.

However, whenever I am trying with the Web Client Programing example, the program fails at call to the function client.connect(server, 80). The function returns 0 (zero).

I requesting the forum to sort out the problem and guide me how to configure the W5100 Ethernet Shield as Web Client using the built-in example program.

With sincere regards and thanks in advance

Abhaya

Dr. Abhaya Kumar Samal
Professor and Head, Dept. of Comp. Sc. & Engg.
Trident Academy of Technology
F2/A, CIE, In front of Infocity
Bhubaneswar-751016, Odisha, India.
Phone: +91-9437141314
Email: kabhaya1@gmail.com

which webserver are you connecting to ?