[Android] aMPdroid 0.7 - Android Remote Control (1 Viewer)

Status
Not open for further replies.

Injected

Portal Pro
October 17, 2008
205
3
Germany Germany
AW: [Android] aMPdroid 0.7 - Android Remote Control

it would be great if the shadow failure could be fixed.


cheers
injected
 

modtang

MP Donator
  • Premium Supporter
  • May 4, 2006
    52
    3
    Wollongong, NSW
    Re: How to install aMPdroid 0.6 and backend services

    This is a great app. Finally got it working right and I'm loving it. Thanks for all your hard work.
     

    moryoav

    Portal Pro
    December 2, 2008
    236
    86
    Israel Israel
    Here's something I can't figure out;
    And if I'm connected to the Wifi at home everything works fine. In the ampdroid app I type in my local ip (192.168.x.x) and everything works.
    If I'm outside my network and I try to connect remotely things don't work...
    I'm using No-IP - Dynamic DNS, Static DNS for Your Dynamic IP to get a host name instead of an ip.

    So if I try http://[myhostname]:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions everything works fine but through the app, I type my host name in the configuration and I get a "Remote connection couldn't be established" error.

    Any tips?

    Thanks.
     

    UNOPARATOR

    MP Donator
  • Premium Supporter
  • September 19, 2007
    231
    70
    Istanbul
    Turkey Turkey
    Here's something I can't figure out;
    And if I'm connected to the Wifi at home everything works fine. In the ampdroid app I type in my local ip (192.168.x.x) and everything works.
    If I'm outside my network and I try to connect remotely things don't work...
    I'm using No-IP - Dynamic DNS, Static DNS for Your Dynamic IP to get a host name instead of an ip.

    So if I try http://[myhostname]:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions everything works fine but through the app, I type my host name in the configuration and I get a "Remote connection couldn't be established" error.

    Any tips?

    Thanks.
    As far as I read in here before (sorry can't give you reference link), Android has issues with using hostnames. So that's probably the reason behind what you're experiencing...
     

    moryoav

    Portal Pro
    December 2, 2008
    236
    86
    Israel Israel
    Here's something I can't figure out;
    And if I'm connected to the Wifi at home everything works fine. In the ampdroid app I type in my local ip (192.168.x.x) and everything works.
    If I'm outside my network and I try to connect remotely things don't work...
    I'm using No-IP - Dynamic DNS, Static DNS for Your Dynamic IP to get a host name instead of an ip.

    So if I try http://[myhostname]:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions everything works fine but through the app, I type my host name in the configuration and I get a "Remote connection couldn't be established" error.

    Any tips?

    Thanks.
    As far as I read in here before (sorry can't give you reference link), Android has issues with using hostnames. So that's probably the reason behind what you're experiencing...
    I don't think Android is the issue. I'm also using torrentFU to control uTorrent remotely and I use the same hostname there and it works just fine. Same goes for Android Remote Notifier which also works fine with hostnames.

    So It's either ampdroid's fault or I'm doing something wrong...
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    36
    Austria
    Austria Austria
    Here's something I can't figure out;
    And if I'm connected to the Wifi at home everything works fine. In the ampdroid app I type in my local ip (192.168.x.x) and everything works.
    If I'm outside my network and I try to connect remotely things don't work...
    I'm using No-IP - Dynamic DNS, Static DNS for Your Dynamic IP to get a host name instead of an ip.

    So if I try http://[myhostname]:44321/GmaWebService/MediaAccessService/json/GetSupportedFunctions everything works fine but through the app, I type my host name in the configuration and I get a "Remote connection couldn't be established" error.

    Any tips?

    Thanks.
    As far as I read in here before (sorry can't give you reference link), Android has issues with using hostnames. So that's probably the reason behind what you're experiencing...
    I don't think Android is the issue. I'm also using torrentFU to control uTorrent remotely and I use the same hostname there and it works just fine. Same goes for Android Remote Notifier which also works fine with hostnames.

    So It's either ampdroid's fault or I'm doing something wrong...
    The link is wrong for one, it's "http://[myhostname]:4321/GmaWebService/MediaAccessService/json/GetServiceDescription" now (see wiki). Links (and port) have changed with the latest version. I think dns entries should work fine, what doesn't work well in Android is resolving local network names (dhcp names).
     

    moryoav

    Portal Pro
    December 2, 2008
    236
    86
    Israel Israel
    The link is wrong for one, it's "http://[myhostname]:4321/GmaWebService/MediaAccessService/json/GetServiceDescription" now (see wiki). Links (and port) have changed with the latest version. I think dns entries should work fine, what doesn't work well in Android is resolving local network names (dhcp names).
    Ok, I feel like I'm making progress:

    This works fine:
    http://192.168.x.x:4321/GmaWebService/MediaAccessService/json/GetServiceDescription

    This does not:
    http://[outside-IP]:4321/GmaWebService/MediaAccessService/json/GetServiceDescription

    This is all from the browser, not from the android app.

    This now feels like a problem with the router directing the port to the HTPC, however the port is routed just fine in the router's config...

    Ideas will be highly appreciated... :D
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Netherlands Netherlands
    Using your external IP never works in your own network, only outside of it. So you've to use your internal IP for WiFi and you external one for when you're on 3g or someone else's WiFi.
     

    moryoav

    Portal Pro
    December 2, 2008
    236
    86
    Israel Israel
    Using your external IP never works in your own network, only outside of it. So you've to use your internal IP for WiFi and you external one for when you're on 3g or someone else's WiFi.
    Of course I'm talking about using the external IP from outside the network.
    This doesn't work.

    This (from the local network) works fine:
    http://192.168.x.x:4321/GmaWebServic...iceDescription

    This (from outside the network) does not:
    http://[outside-IP]:4321/GmaWebS...iceDescription


    Thanks!
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Similar threads

    Top Bottom