arduino + adafruit cc3000 connect to network

Hi, I have one arduino and one module wifi adafruit cc3000, I'm researching about this equipment and I want a web page to control a led(on/off).

I was researching on google and found this tutorial that helped me a lot: http://www.openhomeautomation.net/wireless-relay-arduino-wifi/

But that works localhost and i want access this in any network i'm conected, anyone can help me or give me advices than i want' to do?

But that works localhost

I see nothing on the page you linked to to back up this assertion.

I did an example that i mentioned in the begining, but i get only working in localhost, to access this in any network i'm conected i don't know what i need to do

It's possible to connect at any network and get data from a webpage?