SubSonic on Windows Server 2003

Need help? Post your questions here.

Moderator: moderators

Postby GJ51 » Tue May 17, 2011 6:34 pm

I just used the standard windows install on my WHS and configured it to run on port 8085. Then I just set up a port forward rule on the router to send 8085 to the WHS at its fixed internal IP address. Not complicated at all.

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/manual.jsp If you have SS installed, uninstall it and delete the Subsonic directory (Windows).
Disable any DHCP services in any VOIP equipment or other additional routers you have. Only ONE router/device per network should handle DHCP assignments.

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. Skip 8083 - 443 to avoid conflicts with WHS.

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 SlyGuy77 » Tue May 17, 2011 6:44 pm

In my case, the only port I can use is 443, It's the only port that is open by my ISP outside of my ISP's network.. as well, it's the only port other than 80 that is left open by my company's firewall.. Proxy-ing through 443 is the only option in this case.. :(
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby SlyGuy77 » Tue May 17, 2011 6:54 pm

Just an extra note.. I don't have any issues using Ape mod_proxy for any subsonic apps.. ie subair, subsoninc for Android etc.. I just put in https://myname.homeserver.com/subsonic in the application and it works great.. I'm just unable to login using the web interface..
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby SlyGuy77 » Wed May 18, 2011 11:58 am

Just a little update on my Ape Mod_proxy issue.. Looks like I'm just getting a 502 Bad Gateway error when I'm using google Chrome and Firefox.. I can get in no problem with IE9.. However, I'm not able to stream..

Would anyone have any insight on this?..

Thanks.
Sly.
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby GJ51 » Wed May 18, 2011 12:12 pm

SlyGuy77 wrote:In my case, the only port I can use is 443, It's the only port that is open by my ISP outside of my ISP's network.. as well, it's the only port other than 80 that is left open by my company's firewall.. Proxy-ing through 443 is the only option in this case.. :(


Is your server behind the company"s firewall?

Requests TO the server are usually on port 80. Port forwarding is handled by the internal network that the host computer is on. Opening a port and forwarding is handled by the gateway device or the router depending on the setup. That's why I'd like you to clarify if SS is hosted on your home network or your company's network. If you're on a home network, you're probably going through a lot of unnecessary work to overcomplicate your setup.
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 SlyGuy77 » Wed May 18, 2011 12:33 pm

My server is hosted at home but my ISP does not allow traffic through port 80 outside of my ISP's network and My company's firewall is locked down so I can only browse port 80 and 443.. Port 443 is the only common port between my ISP and company's firewall.. Hope this makes sense..
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby GJ51 » Wed May 18, 2011 12:44 pm

Makes no sense at all. The port configuration where your browsing at has no bearing on the port configuration where SS is hosted. This is a common misconception.

You should configure SS to use anything BUT 80 or 443.

Use the instructions I gave in the detailed post to setup SS for access from anywhere.
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 SlyGuy77 » Wed May 18, 2011 1:00 pm

It's possible I don't understand 100% but I have tried multiple ports on my subsonic server before finally leaving it on 8080 and none worked from my Office... I can browse to it directly using the myname.subsonic.org address from anywhere else (friends house, Android phone etc) but no success whatsoever from my work's network.. the only port that ever allowed me to access my server is 443.. I'm not sure how they configured their firewall, but they made it really difficult to get out using any non standard port..
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby GJ51 » Wed May 18, 2011 1:13 pm

They are probably blocking the stream based on the content when you access over http. If you enable SSL in SS it will send the stream over SSL which can't be monitored. You were successful because when you access over 443 it's an https connection that your work network can't block based on the content of the stream because it's a secure connection.

When you enable SSL in SS, you still use the http address to initiate the server.subsonic.org connection, SS will convert to responding over SSL. This should achieve the same result.

I also use my WHS domain to connect to SS. You can connect directly using https://servername.homeserver.com:port#

I use 44X for my SSL port numbers for my SS servers. I'm currently running 3.

https://maplegrove.homeserver.com:452

This is the link to my demo site. If you can reach it from you system at work, there is no reason that you won't be able to set up your SS the same way. Give it a try and let me know how it works.
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 SlyGuy77 » Wed May 18, 2011 3:14 pm

Ok.. so I've done a few more tests..

Tried enabling SSL on 440, couldn't browse using https://servername.homeserver.com:440/subsonic, also couldn't browse using http://servername.subsonic.org <- it first goes to 8080 before switching to 440.. so, no go.

Then I tried stopping my IIS server, set subsonic to 443, browsed to it using https://servername.homeserver.com/subsonic.. It worked but with certificate errors.. <- is there any way to fix that? streaming works everthing is fine but I no longer have access to the WHS site..

Then tried setting subsonic back to 440, set my mod_proxy to point to https://127.0.0.1:440/subsonic browsed using https://servername.homeserver.com/subsonic and I get a 502 bad gateway error, cannot reach the server.. I'm thinking maybe the certificate error is causing this.

So, I'm thinking my company has somehow disabled the ability to change ports on urls.. Is that even possible? I can't reach anything with the ":port" suffix..
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby GJ51 » Wed May 18, 2011 3:23 pm

Did you try my server?

The certificate error can be ignored, it is because the site has not purchased an SSL certificate. It does not compromise the connection security, it merely states that you are connecting over SSL to a site that does not have a registered certificate.
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 SlyGuy77 » Wed May 18, 2011 3:31 pm

Can't get to your server from work.. Tried from home via logmein rdp session and I have no problem getting to it..
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby GJ51 » Wed May 18, 2011 3:44 pm

Interesting.

Did you try both links?


https://maplegrove.homeserver.com:452

http://maplegrovepartners.subsonic.org

What respone msg. are you getting from at work?
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 SlyGuy77 » Wed May 18, 2011 3:47 pm

Yup.. both links, still no go :(
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

Postby SlyGuy77 » Wed May 18, 2011 3:49 pm

https://maplegrove.homeserver.com:452/

This webpage is not available
The webpage at https://maplegrove.homeserver.com:452/ might be temporarily down or it may have moved permanently to a new web address.
Here are some suggestions:
Reload this web page later.
Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.


http://maplegrovepartners.subsonic.org

Oops! Google Chrome could not connect to 108.17.27.224:8092
Suggestions:
Try reloading: 108.­17.­27.­224:­8092
Search on Google:
SlyGuy77
 
Posts: 14
Joined: Mon Nov 29, 2010 4:32 pm

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 43 guests