Recently I started a server project for my Arduino Ethernet-shield. The server is up and running and it works fine. When I type the ip-address on my URL I can find and edit my server, however when I ask my friend to connect to my server he can't connect to it (he is not connected to my router/domain). The steps I have done for my router and the Arduino are:
I have a H368N as router (net the best, but jea it works!)
The MAC address of the Ethernet-shield is: 0xDE,0x10,0x9A,0xEE,0xB0,0x13 (is set in the code)
Ip-address of my server (Ethernet-shield) is 192.168.2.2
For the router options enabled I have done:
Port forwarding for my IP adress to IP 192.168.2.2
DHCP Binding set to 192.168.2.2 (think this is necessary?)
As for my friend I gave him the following link: http://192.168.2.2/ But jea didn't seem to work.
So my question, what did I do wrong? Can the Ethernet-shield go on the Web? Or did I do something wrong in my settings? I have included my program that I use for this setup :D.