you can run a TCP or UDP server on the arduino listening on specified port
to access it from the external internet your set up your modem to port forward packets arriving for that port to the corresponding PC
you can run a TCP or UDP server on the arduino listening on specified port
to access it from the external internet your set up your modem to port forward packets arriving for that port to the corresponding PC