Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Can't connect to UPnP server from outside LAN

  1. #1

    Can't connect to UPnP server from outside LAN

    Hello everyone.
    As the thread title says, I can't seem to access my desktop UPnP server from my Android phone while on a different network.
    I'm using foobar2000 v1.3.11 on Windows 7, I've set up the UPnP server with the BubbleUPnP plugin, and I'm accessing it through foobar2000 mobile v1.0.55 lite, on Android 6.0.
    While both devices are on the same network, everything works just fine. But my main goal was to have remote access to my library, so I allowed "Internet access" on the UPnP settings, and added the UPnP server on f2k mobile as the settings suggested:
    Code:
    http://<login>:<pass>@<ip>:<port>/content/psc.mp3
    <login> being a user-set name,
    <pass> being a user-set password,
    <ip> being my public IP address, and
    <port> being the HTTP port I chose for UPnP.
    But after that I'm lost. Should the server show up automatically on my UPnP servers list on f2k mobile?
    I've already forwarded the port on my router and tested to see if it was actually open, everything seems to be in order.
    What am I not doing or doing incorrectly?
    Thanks.

  2. #2

    Re: Can't connect to UPnP server from outside LAN

    I don't think fb2k mobile does the authentication which is needed by bubbleupnp.

    Fb2k on desktop has separate textboxes for username/password where as the mobile version does not. So desktop works for me, but mobile doesn't.

    Hopefully someone will read this and make the change in fb2kmobile

  3. #3

    Re: Can't connect to UPnP server from outside LAN

    Well, I believe the issue is not with the Foobar2k app itself.
    It is that your router/modem doesn't know what to do with the connection request.
    So you want to add a port forward to the router so the router knows to redirect the request to right machine on your LAN.

    For example if your server is set up in port 56928,
    then you need to add a port forward that states that any traffic to the port is directed to the IP address and port of your server.

    The setting is usually under WAN tab and can be called as "Virtual Server" or "Port Forwarding".

    Here is an example setup I have on my router:
    Incoming IP: leave this blank to accept connection from any IP (but can specify a fixed IP if you have a static IP on your phone, unlikely)
    Incoming port range: 56928
    Local (server) IP: 192.168.1.4
    Local (server) Port: 56928
    Protocol: TCP


    I hope this helps.

  4. #4

    Re: Can't connect to UPnP server from outside LAN

    It's the mobile app which doesn't appear to do the authentication which bubbleupnp requires.

    Like I said, foobar2000 on desktop works fine remotely, i.e. outside of my network.
    fb2kmobile does not.

  5. #5
    Administrator
    Join Date
    Feb 2014
    Posts
    414

    Re: Can't connect to UPnP server from outside LAN

    I once used fb2k mobile with BubbleUPnP authentication. You have to enter your BubbleUPnP address formatted as http://user:password@hostname for that to work. If it doesn't work for you, I'll investigate.

  6. #6

    Re: Can't connect to UPnP server from outside LAN

    I have tried:

    http://userassword@hostname:8081
    https://userassword@hostname:4443

    Neither work for me...

    Logs say:
    Error Porcessing user-specified UPnP server:
    XML error, retrying

    Thanks

  7. #7

    Re: Can't connect to UPnP server from outside LAN

    It does not work for me, i have tried the following

    http://userassword@hostname:8081
    https://userassword@hostname:4043

    The error is:
    Error processing user-specified UPnP server: XML error, retrying...

  8. #8

    Re: Can't connect to UPnP server from outside LAN

    Quote Originally Posted by Peter View Post
    If it doesn't work for you, I'll investigate.
    Hi Peter,
    This is still not working when using: http://user: password@hostname:8081

    The error is:
    Error processing user-specified UPnP server: XML error, retrying...

    Thanks

  9. #9

    Re: Can't connect to UPnP server from outside LAN

    has anyone got this working? I am still getting the same error with the latest.
    Is there anything I can do to help debug the issue?

  10. #10

    Re: Can't connect to UPnP server from outside LAN

    I get the same error.

    I have set up the UPnP on my hope computer (Wnidows 7 x64, foobar2000 1.4 beta 12)
    I configured the port 56923 in my roter for remote access, launched UPnP server at my IP. Now I can connect to ir through internet from another foobar2000@Windows, adding Remote UPnP as http://userassword@myip:56923
    It works great with desktop foobar2000. But when I add the same server to foobar2000 mobile, and try to connect from the same IP as foobar2000 desktop, I get this in my home foobar2000 console:

    foo_upnp: Denied WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Successful WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Denied WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Successful WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Denied WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Successful WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Denied WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Successful WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Denied WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    foo_upnp: Successful WAN request (ip: 46.211.27.38, User Agent: foobar2000-mobile/1.x)
    and so on...

    And the server doesn't appear in foobar2000 mobile.
    As I can connect from desktop fooba2000 with same IP - the server and network is set up correctly.
    Tried both stable and beta version (Lenovo A606, Android 4.4).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •