Send data to arduino from Global Network

Hello! I have Arduino UNO and ethernet card (ENC28J60) for connecting to server. Now I can send data to arduino from my local network like server.ino(attach). How can I do it using not local network? thanks very much!

server.ino (2.05 KB)

How can I do it using not local network?

The router that the Arduino is attached to needs to have a public IP address, and needs to have port-forwarding enabled, to send all requests to that IP address/port to the Arduino.