This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ERR_CONNECTION_REFUSED on http, not on https
#1
ERR_CONNECTION_REFUSED on http, not on https
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.
Reply
Thanks given by:
#2
RE: ERR_CONNECTION_REFUSED on http, not on https
Check this one instead: http://forums.sentora.org/showthread.php?tid=2535
I do not think the Docs have been updated 100%
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: ERR_CONNECTION_REFUSED on http, not on https
(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?
Reply
Thanks given by:
#4
RE: ERR_CONNECTION_REFUSED on http, not on https
Post your httpd-vhosts.conf file or send it to me in a PM. Something seems to be missing.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#5
RE: ERR_CONNECTION_REFUSED on http, not on https
(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.
Reply
Thanks given by:
#6
RE: ERR_CONNECTION_REFUSED on http, not on https
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.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#7
RE: ERR_CONNECTION_REFUSED on http, not on https
(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!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 22 ,775 02-28-2021, 11:20 AM
Last Post: iraqiboy90
Install guide wget over http? edavidf 5 11 ,195 12-15-2020, 07:07 PM
Last Post: jibranahmed
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 46 ,337 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:


Users browsing this thread: 1 Guest(s)