Sentora Support Forums
ERR_CONNECTION_REFUSED on http, not on https - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: ERR_CONNECTION_REFUSED on http, not on https (/showthread.php?tid=3696)



ERR_CONNECTION_REFUSED on http, not on https - sillibird - 04-24-2017

I followed http://docs.sentora.org/?node=103 to setup SSL/HTTPS on my domains. Everything works fine, except I can only access my domains if I specify https://. If I try to just go to the domain naturally, I get ERR_CONNECTION_REFUSED. 

How could I make it so just typing in the domain brings you to the https version?

The guide and the way I did it rewrites port 80 to 443. If I disable the rewrite, I'm able to access the page again normally, but if I try and get to the https version of the page it shows as not secure.


RE: ERR_CONNECTION_REFUSED on http, not on https - TGates - 04-25-2017

Check this one instead: http://forums.sentora.org/showthread.php?tid=2535
I do not think the Docs have been updated 100%


RE: ERR_CONNECTION_REFUSED on http, not on https - sillibird - 04-25-2017

(04-25-2017, 01:44 AM)TGates Wrote: Check this one instead: http://forums.sentora.org/showthread.php?tid=2535
I do not think the Docs have been updated 100%

The guides look the same?


RE: ERR_CONNECTION_REFUSED on http, not on https - TGates - 04-26-2017

Post your httpd-vhosts.conf file or send it to me in a PM. Something seems to be missing.


RE: ERR_CONNECTION_REFUSED on http, not on https - sillibird - 04-26-2017

(04-26-2017, 03:36 AM)TGates Wrote: Post your httpd-vhosts.conf file or send it to me in a PM. Something seems to be missing.

Sent it in PM.


RE: ERR_CONNECTION_REFUSED on http, not on https - TGates - 04-28-2017

There is no Listen 80 under Listen 443. Did you change apache port in either the database x_settings table or in Module Admin > Apache Config > Apache port?

If so, change it back to 80 and manually run the daemon.


RE: ERR_CONNECTION_REFUSED on http, not on https - sillibird - 04-28-2017

(04-28-2017, 05:00 AM)TGates Wrote: There is no Listen 80 under Listen 443. Did you change apache port in either the database x_settings table or in Module Admin > Apache Config > Apache port?

If so, change it back to 80 and manually run the daemon.

This was the solution, thank you so much!