Android subsonic unable to connect to server

Need help? Post your questions here.

Moderator: moderators

Postby GJ51 » Thu Apr 21, 2011 2:13 pm

Does the phone work with other servers, such as the demo server?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby GJ51 » Thu Apr 21, 2011 2:32 pm

Does it work on the demo site?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby eazolan » Fri Apr 22, 2011 1:13 am

woah, it does work with the demo site!

So, does the Android app use a different port than doing this through the web or something?
eazolan
 
Posts: 4
Joined: Thu Feb 17, 2011 7:12 pm

Postby GJ51 » Fri Apr 22, 2011 1:54 am

You have to set up your server so that it's accessible from the internet by opening the port that SS uses on your router and forwarding it to the server that hosts SS.

I think I may have posted those instructions somewhere on this site once or twice :wink: before ...
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby eazolan » Fri Apr 22, 2011 3:40 am

hm. I had set up port forwarding on my router manually. And it worked fine for the web browser but not the android subsonic client.

I deleted that rule, and saw that the server already had UPnP turned on.

The Android client worked after that.

Maybe UPnP and the manual rule I made were conflicting somehow?
eazolan
 
Posts: 4
Joined: Thu Feb 17, 2011 7:12 pm

Postby GJ51 » Fri Apr 22, 2011 6:36 am

No matter how many times I try, it just seems inevitable ... so here you go.

Most problems are due to improper setup on the router. Setting a fixed internal ip address for the server and proper port forwarding rules on the router are essential for long term stability.

Never use port 80 or 443 - ISP's often use or block them and these are also the default ports on WHS for the remote login page. 8080,8081, work fine. 808X always works. I've seen others use different port numbers that have caused install failures.

READ: http://monroeworld.com/android/subsonic/ This is the Windows tutorial but most of the concepts apply to any setup. Specific setup instructions for other Operating Systems are available in the Tutorials section. http://forum.subsonic.org/forum/viewforum.php?f=6 and on the Subsonic website at http://www.subsonic.org/pages/installation.jsp

In Subsonic Settings/Network - UNCHECK " Automatically configure your router to allow incoming connections to Subsonic (using UPnP or NAT-PMP port forwarding)." make sure to hit the SAVE button, you may have to scroll down to see it depending on your screen size. UPnP or Plug & Pray works sometimes, but not very often and you're better off learning what's going on anyway. You're dipping your toe into the network mgmt. thing anyway, might as well learn what's going on as home networks don't get simpler as time goes on. As your network gets more complex, you're going to have to learn this stuff! No time like the present.

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHCP, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080 - 440, 8081 - 441, etc.

Set up port forwarding in your router to direct traffic on the selected port to your server. Consult your router documentation to do this, they are all a bit different.

Learn your external IP address assigned by your ISP. Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.

Test your setup by entering your external IP:port# to see if it connects. e.g. http://98.117.185.5:8084/ If it works, you're good to go.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby relevelence » Fri Jul 01, 2011 8:38 pm

I have followed the steps from GJ51.

I disabled the "Automatically configure your router to allow incoming connections" within subsonic

I manually setup port forwarding.

I am able to access the server via a web browser, both on a machine outside my network and my phone. When I set up the subsonic app on my phone the test connection passes, but when I try to access my media library from the app, I get a network error occurred.
relevelence
 
Posts: 2
Joined: Fri Jul 01, 2011 8:29 pm

Postby GJ51 » Fri Jul 01, 2011 9:16 pm

Very unusual. Test your phone on my site below and let me know if it works. We first need to determine if it's the phone or your site that is causing the problem.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby relevelence » Fri Jul 01, 2011 11:02 pm

It works. I don't know how I can access my server from the standard web browser. I am not using the subsonic.org within the software, so I'm not sure if that's the issiue ?

Any ideas of setting up the android app without the subsonic.org. its just strange how I can access my subsonic sever via a web browser still.
relevelence
 
Posts: 2
Joined: Fri Jul 01, 2011 8:29 pm

Postby GJ51 » Sat Jul 02, 2011 3:20 am

There are a few things you can try. Sometimes clearing the settings on the Android app and redoing them can fix the problem. Sometimes reinstalling the app with a phone reboot in between can help. You can always enter the external ip:port# instead of the Subsonic.org name.

Usually, if you can get access over a browser from outside your network, the Android app will work. Most often when I've seen problems like yours it's due to a typo or an error in the app settings. If you still have problems and you'd like me to test your server, just send me a pm with a guest logon credential.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 34 guests