Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    saj
    saj is offline
    Member
    Join Date
    Nov 2004
    Posts
    19

    Default Connection refused to port 2087, can not access secure WHM

    Hi,

    We can not access WHM through 2087. When try telnet x.x.x.x 2087 shows a connection refuesed error.
    Could you please fix the issue. All efforts regarding to solve this issue is very much appreciated.

    We are able to connect via 2086. But all the secure port are ( 2096, 2083, and 2087) are giving connection refused error.

    Thanks in advance ...

    Best Regards,
    Saj.

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Saj, sounds like your hosting provider does not have the SSL port setup correctly on their Cpanel box. Open a ticket with them as they are probably just blocking it via the firewall they have installed. The other possibility is that your network is blocking the 2087 port. I have seen this from some of our customers on corporate networks, but typically 2086 was blocked in that case also.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  3. #3
    saj
    saj is offline
    Member
    Join Date
    Nov 2004
    Posts
    19

    Default

    Hi Kris,

    Thanks for your reply. I have checked and could not find any firewall blocking port 2087. I have stoped iptables, portsentry, and apf and try to start cpanel. Cpanel is starting with out any problem. But when I try to start /usr/sbin/stunnel it seems to be started ok. But I cannot see such a process. The stunnel process is binding to port 2087 in ordinary cases. But here I can not start the process. Do you have any Idea, about what is preventing it from starting.

    I have also checked the configuration file of stunnel and could not find any misconfiguration. But I am not much familiar with that file. If you have any idea, please let me know.

    Thanks for your reply again,

    Best Regards,
    Saj.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you run the following are you seeing port 2087 bound?

    netstat -lpn

    If not, then I've seen this happen if you have imaps configured in xinetd. Check for /etc/xinetd.d/imaps, if it exists, edit the file and set Disable = yes then restart xinetd:

    service xinetd restart

    then restart cPanel

    service cpanel restart

    If the port is already bound to stunnel, then the problem lies elsewhere. another idea then is to login to port 2086 non-SSL and regenerate the WHM SSL certificate.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    saj
    saj is offline
    Member
    Join Date
    Nov 2004
    Posts
    19

    Default

    Hi Chirpy,

    Thank You for your excellent advise. We are able to connect to port 2087 now.

    You seems to be an expert in Linux Administration. Keep it up!!!

    -Saj

  6. #6
    Member amal's Avatar
    Join Date
    Nov 2003
    Location
    India
    Posts
    153

    Default

    I'm also having the same issue.. :-( But the xinitd is already having that entry .. tried restarting both xinit and cpanel.

    no firewal rules as well.

    /var/log/messages also shows no error...

  7. #7
    Member amal's Avatar
    Join Date
    Nov 2003
    Location
    India
    Posts
    153

    Smile

    Hi,

    My issue is fixed.. Some support person recompiled the kernel on my server with some missing option.. which caused stunnel to fail.

    Everything is back to normal now...

Similar Threads & Tags
Similar threads

  1. how to change port 2086 or 2087 (whm)
    By evilc0d3r in forum New User Questions
    Replies: 2
    Last Post: 03-03-2009, 10:00 AM
  2. Can't access WHM through port 2087
    By alex2k in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-30-2006, 11:58 AM
  3. WHM fails on port 2087 on a VPS
    By rsaylor in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-29-2005, 12:47 PM
  4. telnet 110 port connection refused.
    By typer in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-05-2003, 05:48 PM
  5. restricting access to port 2086 and 2087 by IP address
    By jamesbond in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-23-2002, 04:15 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube