Is there a way to shut off the non-ssl ports? 2082, 2086, 2095

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
166
Is there a way to shut off the non-ssl ports? 2082, 2086, 2095

I know I can block them with a firewall, but is there a way to get them to not startup at all?
 

gvard

Well-Known Member
PartnerNOC
Dec 22, 2003
217
12
168
Athens/GREECE
cPanel Access Level
DataCenter Provider
Greetings from Greece,

WHM -> Tweak Settings -> Security -> Require SSL for all remote logins to cPanel, WHM and Webmail. This setting is recommended.

When someone visits a non-ssl port (like 2095) will get the following message:

SSL encryption is required for access to this server.

Log in using SSL. (a link to the SSL login).
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
Houston, TX
cPanel Access Level
Root Administrator
What gvard said is correct. Also, to make sure that users are directed to the correct ports when they use the /cpanel, /whm and /webmail redirects, you can set the following in Main >> Server Configuration >> Tweak Settings: Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.