ENC28J60 with Leonardo - IP refused to connect

Hi guys,

New to Arduino and this forum. So I've checked many pages and over youtube as well, but I can't get this simple set up to work.

So basically I have an Arduino Leonardo, connected to ENC28J60. The wiring follows the one in this dragram:

ENC28J60 - Leonardo
VCC - 3.3v/5v (i tried both)
GND - GND
D8 - CS
SI - MOSI
SO - MISO
SCK - SCK
RESET - RST

The ethernet cable is connected from ENC28J60 to a port on my modem. My modem port light is on. The green light to the left of ENC28J60's ethernet hole is lit, but the flashing one on the right isn't. (Maybe there's something wrong here?)

So I opened cmd and ran ipconfig, got my ip address. I upload the ethercard.h example code 'backSoon' into my Arduino, after I replaced the ip with my own.

I then typed my ip into the address bar... and... this site can't be reached. 192.168.1.134 refused to connect. Even after I turned off my firewall.

I don't understand what's wrong? Is it in the wiring? I think I'm missing a little detail somewhere and it's causing a whole lot of trouble.

Any help would be greatly appreciated!

So I opened cmd and ran ipconfig, got my ip address. I upload the ethercard.h example code 'backSoon' into my Arduino, after I replaced the ip with my own.

The variable "myip" in that sketch is for the IP address of the Arduino and not for that of your PC.

What serial output do you get if you run the example? Post that output!