Why am I forced to change server daily? (Router issue?)

Need help? Post your questions here.

Moderator: moderators

Why am I forced to change server daily? (Router issue?)

Postby senator_kelly » Fri Jan 28, 2011 5:15 pm

I am using subsonic and it seems every day, sometimes more than once a day, I lose connection. So I am forced to change my server from xxxx1.subsonic.org to xxxx2.subsonic.org it happens so frequently that I've just started implementing a number system to make the change easier.

Typically when I make the change, subsonic will work again. I'm guess this has something to do with my router at home. What change do I have to make to my router to guarantee an uninterrupted connection to subsonic from my phone?

I don't know a lot about routers/port forwarding, but if someone could just point me in the right direction, I can figure it out.

THANKS!
senator_kelly
 
Posts: 2
Joined: Fri Jan 28, 2011 5:04 pm

Postby disgustipated » Fri Jan 28, 2011 6:55 pm

it depends on your isp, if youre losing your connection and your modem automatically reconnects then most likely you will get a new ip address. while some isp's will allocate the ip address for a long period of time, some assign a new ip on each new connection.

I would be more curious as to why you appear to possibly not have a solid internet connection.
disgustipated
 
Posts: 96
Joined: Wed Jan 26, 2011 4:18 pm
Location: US

Postby GJ51 » Fri Jan 28, 2011 7:56 pm

What port are you using?

Is your server at home on a fixed ip address or is it assigned it's internal ip by DHCP on the router?
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 senator_kelly » Fri Jan 28, 2011 9:30 pm

The port I am currently using is 5588, but I end up changing that every few days anyway. It may be a false-positive, but I do it to help get back connectivity.

I believe the address is assigned my DHCP. For example, every time I restart my computer, it has a different IP address.

So I'm guessing I need to set up a static IP address for my computer? Maybe forward the port correctly? Not really sure how to do these things.
senator_kelly
 
Posts: 2
Joined: Fri Jan 28, 2011 5:04 pm

Postby GJ51 » Fri Jan 28, 2011 9:32 pm

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

Never use port 80 - ISP's often use it or block it. 8080,8081, work fine.

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.

Learn your external IP address assigned by your ISP.

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

Default Transcoding for video:

ffmpeg -ss %o -i %s -async 1 -b %bk -s %wx%h -ar 44100 -ac 2 -v 0 -f flv -

Stozher: mp4 > flv transcoding ffmpeg -v 0 -ss %o -async 30 -i %s -f flv -b %bk -r 30 -s %wx%h -acodec copy -

Also, read the manual for your router.
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


Return to Help

Who is online

Users browsing this forum: No registered users and 29 guests