Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
uarlive
Visitor

WAN IP Address from roDeviceInfo

Is there currently a way to retrieve the WAN ip address directly from a Roku device? Could this be done by using roDeviceInfo? Thanks.
0 Kudos
2 REPLIES 2
TheEndless
Channel Surfer

Re: WAN IP Address from roDeviceInfo

There's no way to get it directly from the device that I'm aware of, but you could use a free service like http://freegeoip.net
The following query should get you the public IP: http://freegeoip.net/json/
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
uarlive
Visitor

Re: WAN IP Address from roDeviceInfo

Thanks Endless. This makes things a lot easier. (No more geocoding scripts.)
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.