Can't access WHM through port 2087

alex2k

Active Member
Sep 10, 2001
41
0
306
Guys...

I need help.
After upgrade cpanel (using Stable version), I can't access cpanel through port 2083 and whm through port 2087.

I can access it using port 2082 and 2087.
Anyone have solution for my problem?

Thank you....
 

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
948
29
178
If you restart cpanel from the command line do you get any errors like - "cpanel ssl services - failed" ?
 

cooldude7273

Well-Known Member
Jan 11, 2004
357
0
166
Roswell, GA
Something simple that even I sometimes forget is to make sure you are using https://
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
508
3
168
Planet Earth
ps ax | grep stunnel

will show whether stunnel is running or not. When it is running, the output will look like the below.

[/]# ps ax | grep stunnel
5139 ? S 0:00 /usr/bin/stunnel-4.04local /usr/local/cpanel/etc/stunnel/default/stunnel.conf.run
21120 ? S 0:00 grep stunnel
[/]#

A cpanel restart using the command

[/]# /etc/rc.d/init.d/cpanel restart

will restart the stunnel and activate the cpanel's secure ports so you will be able to use the 2083 or 2087.
 

attiliok

Active Member
Nov 13, 2013
29
0
1
cPanel Access Level
Root Administrator
Hi, same problem here.
Stunnel not running

Code:
root@server2 [~]# ps ax | grep stunnel
12621 pts/0    S+     0:00 grep stunnel
Also after a reboot, not running at all.
I tried tu manually launch it with

Code:
/user/bin/stunnel-4.15local
but the answer is

Code:
2020.02.05 09:36:22 LOG3[14319:139835971282880]: /usr/local/etc/stunnel/stunnel.conf: No such file or directory (2)
Is there a way to reset this missing file?

Thanks in advance
 

quietFinn

Well-Known Member
Feb 4, 2006
2,042
553
493
Finland
cPanel Access Level
Root Administrator

attiliok

Active Member
Nov 13, 2013
29
0
1
cPanel Access Level
Root Administrator
Thanks for the information. Here is my problem.

suddenly, without any change in my configuration, I can't access to WHM on
the error is: ERR_CONNECTION_TIMED_OUT

I can only access on
whm.domain.com (not ssl)

Everything else works fine (websites, mail, cpanel of single accounts)

I rebooted the server
I run upcp (with no problems)
I tried to disable iptables
I tried from other computers/connections
I checked host.allow and host.deny

Nothing solved the problem. Any advice?

Thanks again!
 

attiliok

Active Member
Nov 13, 2013
29
0
1
cPanel Access Level
Root Administrator
Some more info:

Command
iptables -S
Response
-A INPUT -p tcp -m tcp --dport 2086:2087 -j ACCEPT

Command from local terminal
telnet mydomain.com 2087
Response
Operation timed out