Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error

Need help? Post your questions here.

Moderator: moderators

Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error

Postby CmdrKeene » Tue Jan 04, 2011 3:46 pm

When I try to access my subsonic library from a computer outside my home network, I go to an address like this. It's an address from DynDNS (Dynamic DNS) that directs to my home IP for me. I use it for remote desktop and such and it works perfectly.

http://myname.homeip.net:4040

So when I go to my address, the URL changes to this:

http://myname.homeip.net:4040/index.view

The page icon (favicon) also shows the expected Subsonic headphones graphic. However, the page stops loading and returns a "page not found" error. When I ask my browser to show details, it says it was error 102, connection refused.

What gives? I've tried turning off the Windows Firewall completely, but it resulted in no change. And since the page begins to load, I'm thinking it's a setting I've mucked up inside Subsonic. Any help is appreciated.
CmdrKeene
 
Posts: 5
Joined: Sat Dec 11, 2010 5:42 pm
Location: Oklahoma City

Postby GJ51 » Wed Jan 05, 2011 4:14 pm

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.
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 CmdrKeene » Wed Jan 05, 2011 4:19 pm

Thanks GJ51, but I've actually already taken all these steps. My computer is assigned a specific IP address of 192.168.1.150 (DHCP stops at .50). I'm also using port forwarding on my router to direct port 4040 to Subsonic, and it is configured as such.

Like I said, it loads enough to receive the redirect for index.view, and even downloads the favicon before it fails with that weird HTTP 102 response header message.
CmdrKeene
 
Posts: 5
Joined: Sat Dec 11, 2010 5:42 pm
Location: Oklahoma City

Postby GJ51 » Wed Jan 05, 2011 4:31 pm

I would stop the Subsonic service, then just reinstall the 4.3 beta right over the top of your current install. Then go into the Subsonic Control Panel and reset the port SS uses as the reinstall always sets it to port 80. If your routing is good and a reinstall doesn't fix it, you've probably got OS or hardware problems. Also, before you start, uninstall and reinstall the latest Java for your system just to be sure that's not 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 CmdrKeene » Wed Jan 05, 2011 5:11 pm

will do, I'll post back the results this evening when I get home. The install works fine when I access it locally (with something like http://machinename:4040 or by machineIP:4040), so I'm inclined to think it's either an issue with my router or machine, I'm just not sure what.

If I understand correctly, the program doesn't know where my connection is coming form, local or external, because it gets it over the same port.
CmdrKeene
 
Posts: 5
Joined: Sat Dec 11, 2010 5:42 pm
Location: Oklahoma City

Postby GJ51 » Wed Jan 05, 2011 5:34 pm

That's correct. I would also test by attempting to connect with your external IP address:port# as in the example below. If that works, then it's a DNS problem with whatever DNS service you're using.

e.g. http://24.88.76.61:4040

From outside your network, you have to send the request to your router which is listening to the external IP address provided by your ISP. When the request hits the router on the designated port, the router uses the port forwarding to send the request to the server connected to the designated internal IP address specified in the router by the port forwarding rule. When the server gets the request on the designated port it passes it to Subsonic as you have defined the Subsonic service to listen for traffic on that particular port. If the communication chain is complete, Subsonic will send the data requested!

Most of these connection issues are solved within the router configuration.
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 14 guests