https connection refused

Need help? Post your questions here.

Moderator: moderators

https connection refused

Postby gogogo » Tue May 19, 2020 11:34 am

Hello.
I have set SSL port that is refused:
SUBSONIC_ARGS="--port=4040 --https-port=4444 --max-memory=200"
SUBSONIC_ARGS="--max-memory=150"

The port 4040 answer correctly , 4444 not, firewall rule is ok. Subsonic service restarted.. no way don't works...
no log error in var/subsonic/log
gogogo
 
Posts: 37
Joined: Mon Aug 08, 2011 12:12 pm

Re: https connection refused

Postby 3Dscrewer » Tue May 19, 2020 8:14 pm

Imho you can use only one port.
You can redirect the port in your server configuration, even if SSL to the http port.
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm

Re: https connection refused

Postby gogogo » Wed May 20, 2020 9:18 am

really thank you for support.

also if i set only :
SUBSONIC_ARGS="--https-port=4040 --max-memory=200"

i can't reach the server over https.

ERR_SSL_PROTOCOL_ERROR
gogogo
 
Posts: 37
Joined: Mon Aug 08, 2011 12:12 pm

Re: https connection refused

Postby 3Dscrewer » Wed May 20, 2020 1:57 pm

Hmmm, so lets start over, what OS, are you using a server like apache or nginx? What version you are running the WAR with Tomcat?

There are so much different faults belonging how you have done the setup ...

and last and not least, have you read this?

Note that Subsonic uses a self-signed https certificate by default. This provides encryption but not proper authentication. To use your own certificate you must put it in a Java keystore, then specify the following Java system properties: subsonic.ssl.keystore (path to an alternate SSL keystore), and subsonic.ssl.password (password of the alternate SSL keystore). On Windows, you can set these system properties in C:\Program Files (x86)\Subsonic\subsonic-service.exe.vmoptions. On Mac, you can add them to /Applications/Subsonic.app/Contents/Info.plist.
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 23 guests