Can't connect externally to subsonic server

Need help? Post your questions here.

Moderator: moderators

Can't connect externally to subsonic server

Postby Last_Rogue » Wed Feb 23, 2011 3:52 am

Hello,
I have been using Subsonic for a few months now, but recently I haven't been able to access my server externally. I've tried via my android phone and by typing in the url of my server. Neither option works. I've forwarded ports on my router, but to no avail. Can anyone help.

I use a Linksys WRT54GSV4 Router and a Motorola Surfboard SB6120

Thank you
Last_Rogue
 
Posts: 6
Joined: Tue Feb 22, 2011 1:33 am
Location: Chicago

Postby GJ51 » Wed Feb 23, 2011 3:55 am

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.

First 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

Never use port 80 - ISP's often use it or block it. 8080,8081, work fine. 808X always works. I've seen others use different port numbers that have caused install failure.

Start with a fresh Java install to the latest version. If you have Java already, uninstall, then do a clean install of the latest version. If you use a 64 bit browser be sure to get both 32 & 64 bit Java.
http://www.java.com/en/download/faq/java_win64bit.xml

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, 8081, 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 Last_Rogue » Wed Feb 23, 2011 4:05 am

I've tried forwarding ports in the subsonic panel. Whenever I change the port to something other than 80, in the Subsonic Browser Panel it tells me that my server address has run into an error "ConnectTimeoutException".

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

I don't understand how I should go about this. Do you mean set up a static IP for my server (my computer)?[/quote]
Last_Rogue
 
Posts: 6
Joined: Tue Feb 22, 2011 1:33 am
Location: Chicago

Postby GJ51 » Wed Feb 23, 2011 4:25 am

First read: http://monroeworld.com/android/subsonic/


I always lock in the internal ip address on my servers. In Windows (which is all I use) I go to the settings for the NIC and manually enter the internal ip address that I want the server to use. This way it never changes. Then I define the same route to the server on my router so that the router also knows where the server is always found. This way DHCP never changes the internal ip address of the server.

Once that's done, you need to forward incomming traffic for the port that SS is using to route the request to the server. This is done through port forwarding as described in your router's manual. Relax, make a cup of coffee, do some reading ... it's a bit of a challenge at first, but if you take the time to read through all the information I've posted, it'll become clearer. There's no magic bullet here if you want to set it up properly. If you do it right the first time, it'll be rock solid. If you go the quick and easy route, you may get lucky ... or you could end up chasing your tail until you finally decide to take the time to understand what's going on in your network. This is one project where the hard way is definitely the easy way. When you responded to my last post within 10 mins., did you really think I believed you actually read all the information I gave you? :wink:
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 » Wed Feb 23, 2011 4:35 am

http://office.manualsonline.com/manuals ... 54g_1.html

Some more light reading that should help. Let me know when you have specific questions and I'll try to help as much as I can. In the meantime, feel free to check out the final results of your efforts on my public server. Don't get discouraged, we've already walked several usres through the setup process. You'll be glad you made the effort when you're done.
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 Last_Rogue » Wed Mar 02, 2011 4:00 am

Ok, I took a big deep breath and went through the information you posted.

I began by creating a static IP for the computer that my Subsonic server is on (it is currently 192.168.1.254). Then I unchecked the "Automatically configure your router" check box so that I could change the port being forwarded. After that, I forwarded ports 8080, and 80 on my router, and verified they were forwarded via canyouseeme.org. After doing this, I changed the port number in the subsonic control tray to 8080, then I restarted the subsonic service.

After doing these steps, my subsonic server was up and running! However, today, it started to malfunction; I cannot remotely access my server again. When I go to my local host control panel, and input my server name it tells me

Status: Failed to test web address. Connect to subsonic.org/xx.xx.xx.xxx:80 timed out (ConnectTimeoutException)



This is the same error I was getting before. I'm not sure what steps I should take to get this problem fixed.

Thank you for your help.
Last_Rogue
 
Posts: 6
Joined: Tue Feb 22, 2011 1:33 am
Location: Chicago

Postby alphawave7 » Wed Mar 02, 2011 4:22 am

@Last Rogue
It's not you..Subsonic's redirect server is down today:
http://forum.subsonic.org/forum/viewtopic.php?t=5854
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby GJ51 » Wed Mar 02, 2011 5:33 pm

Sounds like you've got it!

It also looks like Subsonic.org is back up. Mine's working.
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 Last_Rogue » Wed Mar 02, 2011 6:21 pm

alphawave7 wrote:@Last Rogue
It's not you..Subsonic's redirect server is down today:
http://forum.subsonic.org/forum/viewtopic.php?t=5854


Yes, this was my problem. My Subsonic server is up and running again.

Thank you GJ51 for all your help.
Last_Rogue
 
Posts: 6
Joined: Tue Feb 22, 2011 1:33 am
Location: Chicago


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests