Controller IP address
Posted: Mon May 20, 2013 7:04 pm
on the portal, the ip address that most recently updated data is stored. is there a way to retrieve that ip address from the portal?
what i am thinking of doing is having a way to grab the ip address from the portal of the last updated ip address to help with the configuration. this way if there was an error communicating, i can prompt the user to get the last address from the portal and try to use that. it seems like a lot of people use the portal and my android app in conjunction and this could help out. it could also decrease the need to use a dynamic dns name for their host. it could also be configured to check daily for host ip address changes from the portal.
what do you think about this? I can see some possible security issues with this but no worse than what we already have.
ideally, it would be a single command and response instead of mixed with other xml data.
maybe a "host.aspx?id=ID" (or however the others do it) and have jt return the xml: <ip>111.222.333.444</ip> or wrapped in another header. (not at my computer to confirm how the existing request and response works)
what i am thinking of doing is having a way to grab the ip address from the portal of the last updated ip address to help with the configuration. this way if there was an error communicating, i can prompt the user to get the last address from the portal and try to use that. it seems like a lot of people use the portal and my android app in conjunction and this could help out. it could also decrease the need to use a dynamic dns name for their host. it could also be configured to check daily for host ip address changes from the portal.
what do you think about this? I can see some possible security issues with this but no worse than what we already have.
ideally, it would be a single command and response instead of mixed with other xml data.
maybe a "host.aspx?id=ID" (or however the others do it) and have jt return the xml: <ip>111.222.333.444</ip> or wrapped in another header. (not at my computer to confirm how the existing request and response works)