Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED WHM has declined the connection error

Discussion in 'General Discussion' started by elyday, Jun 22, 2018.

  1. elyday

    elyday Member

    Joined:
    Apr 29, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hello

    I just received an internal complaint that our WHM and cPanel are no longer accessible via browser. However, the websites hosted under cPanel are still available.

    When I call the URL of WHM I only get the message from Chrome: "This website is not reachable
    cpanel.example.com has declined the connection."

    Since then I have checked all known error logs and even performed a cPanel update in the console, without success. I hope someone here has had a similar problem or even the same and can help me.

    Regards
    Lars
     
    #1 elyday, Jun 22, 2018
    Last edited by a moderator: Jun 22, 2018
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    691
    Likes Received:
    233
    Trophy Points:
    93
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    This cname address (and the top level example.com) only resolves to localhost (127.0.0.1) at time of writing.

    You should check to see if you have adequate host, DNS and PTR entries configured for your server.

    Try and connect to WHM using https://your.server.IP:2087/ to ensure that your cPanel and WHM are running correctly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 rpvw, Jun 22, 2018
    Last edited by a moderator: Jun 22, 2018
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @elyday,

    Can you also check your firewall rules and the /etc/hosts.allow file to make sure access to cPanel or WHM isn't restricted to specific IP addresses?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. elyday

    elyday Member

    Joined:
    Apr 29, 2018
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    I found the error earlier. Thank you @rpvw
    Strangely enough, our domain reseller has changed the routings to 127.0.0.1.
    Thank you both
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @elyday,

    I'm glad to see you were able to determine the cause of the issue. I've marked this thread as solved.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice