Page 1 of 1

NoRouteToHostException

PostPosted: Tue Jan 04, 2011 3:28 pm
by jojo1982@aol.com
My server was running without a problem for a few months but recently it stopped working. Port forwarding to port 80 is successful and my url is registered successfully but I get an error message "NoRouteToHostException". I am using windows XP. I also am using the android app which fails to connect telling me it's a network error. I think it's a Windows error but I cant figure it out.

Status: user.subsonic.org is registered, but could not connect to it. (NoRouteToHostException)

PostPosted: Wed Jan 05, 2011 5:17 am
by alphawave7
ISP's often block port 80 to prevent servers on that port. I'd recommend choosing another (8080, 4040,etc) and manually opening that port in your router. Test wan-side with canyouseeme.org and your chosen port.

PostPosted: Wed Jan 05, 2011 5:48 am
by GJ51
http://monroeworld.com/android/subsonic/

Never use port 80

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 DHC, 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:4040/

If it works, you're good to go.

PostPosted: Wed Jan 05, 2011 2:07 pm
by jojo1982@aol.com
Thank you for your help. I changed the port to 8080 and it worked perfectly.