SSL only on port 8080

Need help? Post your questions here.

Moderator: moderators

SSL only on port 8080

Postby wezman2k » Mon Dec 31, 2012 6:05 pm

So...my work uses a websense filtering program to block the subsonic.org address.

I have found that if I use port 8080 without ssl i am able to access my server just fine. however, if i attempt to use port 8080 for https it doesn't work. i've tried changing the http port to 80, 8081 and several others. It's like 2 ports are needed for subsonic to work properly. one for http as well as one for https.

I would much rather have my server set up using https but not if i can't reach it at work. is there any way to completely disable the http port so i can just rely on 8080 for https?

thanks for your help.
wezman2k
 
Posts: 21
Joined: Mon Jul 25, 2011 8:58 am

Re: SSL only on port 8080

Postby daneren2005 » Mon Dec 31, 2012 6:33 pm

Set the http port to 0. Subsonic doens't run correctly if either http or https isn't set to 0, and https is set to 0 by default.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: SSL only on port 8080

Postby wezman2k » Mon Dec 31, 2012 6:47 pm

i'm pretty sure i tried that and then it defaulted back to 4040...

i also tried getting rid of the http port lines altogether in the info.plist file

edit: tried again just to make sure. it doesn't default to 4040 but when i do that the page doesn't load because it initially attempts a connection on port 0
wezman2k
 
Posts: 21
Joined: Mon Jul 25, 2011 8:58 am

Re: SSL only on port 8080

Postby jol » Mon Dec 31, 2012 7:21 pm

daneren2005 wrote:Set the http port to 0. Subsonic doens't run correctly if either http or https isn't set to 0, and https is set to 0 by default.
Depends on how you define "runs correctly". If both http and https are configured, Subsonic automatically redirects all requests using http to https.
wezman2k wrote:So...my work uses a websense filtering program to block the subsonic.org address.

I have found that if I use port 8080 without ssl i am able to access my server just fine. however, if i attempt to use port 8080 for https it doesn't work. i've tried changing the http port to 80, 8081 and several others. It's like 2 ports are needed for subsonic to work properly. one for http as well as one for https.
The questions are (1) should you try to bypass a policy set by your company? (2) what are the technical means used to enforce the policy? You must be aware that use of https makes it hard to impossible for the company to enforce a policy as one can also use https to tunnel any traffic and without terminating https traffic (possible, but few products, imho illegal without telling employees and disallowing private use of the internet).Thus it is possible that your company just blocks https, and then the automatic redirect above will prevent Subsonic to work unless you disable https.
However this is just speculation, you should probably just contact your IT and ask what the policy is and whether or how you can continue to use Subsonic without risking non compliance.
Best regards, jol
Subsonic 4.7 running on Acer H340 with LDAP authentication / Windows Home Server 2011 - Android client (3.5)
jol
 
Posts: 52
Joined: Sat Jan 21, 2012 7:40 pm

Re: SSL only on port 8080

Postby wezman2k » Mon Dec 31, 2012 9:33 pm

Well the thing is, I've been using Audiogalaxy at work for almost a year now and I've been fine. No trouble. With Audiogalaxy shutting down I've now switched over to subsonic (and quite glad that I have...it's way better).

I'm not really concerned about getting into any trouble at work...otherwise I would have long ago. If I have to refrain from using https then I'm ok with that. I just figured there may be a way to completely disable http and use https only on port 8080.
wezman2k
 
Posts: 21
Joined: Mon Jul 25, 2011 8:58 am

Re: SSL only on port 8080

Postby wezman2k » Fri Jan 04, 2013 6:38 pm

any more guidance on this?
wezman2k
 
Posts: 21
Joined: Mon Jul 25, 2011 8:58 am

Re: SSL only on port 8080

Postby bushman4 » Fri Jan 04, 2013 6:43 pm

Are you trying to go directly to the address (ie, https://1.1.1.1:8080/) or are you trying to use the vanity subsonic.org domain name?

If you are trying to use the later, yes, both the HTTP and SSL ports must be set and open to the outside world.

I could explain why, but I have a million times already... search out one of my old posts with the word "redirect" in it.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: SSL only on port 8080

Postby wezman2k » Sat Jan 19, 2013 6:42 pm

the subsonic.org domain is blocked at work so i access my subsonic using the IP address.

with no SSL on and subsonic set to port 8080 everything works great. if i turn on SSL it won't load. websense doesn't kick in or anything, the page just doesn't load.
wezman2k
 
Posts: 21
Joined: Mon Jul 25, 2011 8:58 am

Re: SSL only on port 8080

Postby wezman2k » Thu Apr 18, 2013 11:48 pm

I still haven't managed to get this resolved.

I'm generally ok using http:// but i'd feel better if i could get this running on https://

ugh..why does it have to redirect?! why can't i just get rid of the http:// port altogether. it doesn't make sense to me.
wezman2k
 
Posts: 21
Joined: Mon Jul 25, 2011 8:58 am


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests