Android Tutorial No-IP Android client - Access your device over the internet

Discussion in 'Tutorials & Examples' started by Erel, Feb 21, 2013.

Thread Status:
Not open for further replies.
  1. Tim_Pennard

    Tim_Pennard Member Licensed User

    Hi, I'm also trying to access my Android device (which is running the HttpServer library) over the internet. I see there are helpful comments here back in 2014 that exIP.org is out of service and suggesting an alternative; and also techknight's update above. Does anyone have experience of implementing this more recently who can advise on the services available now and/or any code samples?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Tim_Pennard

    Tim_Pennard Member Licensed User

    Hi,
    Thank you for your help Erel.

    I looked at whatismipaddress although I couldn't see how I can access it to update the dynamic external IP via the DynnamicIp service in b4a.

    As a test, should it work without that step (just use the dynamic IP for a short period - if it doesn't change)? So far, I can't get that step to work.
    I have forwarded a port to the device IP that is running the server code (192.168.0.45) TCP 5555 and UDP 5555 in the router.
    The device has a static IP.
    If I type my external IP address into a web browser http://90.xxx.xx.xxx:5555 I get a message that the site can't be reached.
    I currently have a variable in my application called SERVER_IP_ADDRESS that I set to the device ID when using my internal network.
    SERVER_IP_ADDRESS = "http://192.168.0.45:5555" For example I can then call "job1.download(SERVER_IP_ADDRESS & sb)"
    Do I need to change this or does it stay as the device IP?

    Sorry for the novice questions and thanks for any help.
    Tim
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes.

    It is not so simple. This is why I suggested to start like this.

    Please start a new thread for further discussion.
     
Thread Status:
Not open for further replies.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice