Jump to content

Connection Error: Failed to connect


Recommended Posts

Hi,

I'm having problem connecting to my server. I'm getting this error "Connection Error: Failed to connect to xxx.xxx.xx.xx port 2087: No route to host(7)". I have temporarily disabled cphulk firewall and when connecting to serverIP:2087 it work and takes me to WHM login.

Link to comment
Share on other sites

It's the server not connecting to each other. I have a different server connecting to a different server which both of them don't recognize each other when pinging from SSH. Try creating a static route between your servers you are trying to connect to and from. I have yet to try.

Link to comment
Share on other sites

On 3/22/2021 at 12:09 PM, AlexNillson89 said:

Did you manage to solve this problem? If so, write how. I have exactly the same error and I still can't figure out what exactly my problem is.

Hey, I created a Static route and it worked. If you have root access create a static route and it should open up connection to other host.

Link to comment
Share on other sites

  • 7 months later...
  • 2 months later...
  • 4 weeks later...
  • 2 years later...

Hi there!

I encountered the same error after updating my WHMCS installation from version 8.5  to 8.11.

After several attempts to fix it, I found a solution by setting up a new server connection from scratch and creating a new API key in WHM. I noticed WHMCS now prompts you to enter either the IP address or the hostname. I used the hostname, and it worked.

Interestingly, WHMCS automatically assumed the local IP address instead of the public one. So, I went back to my previous server connection in WHMCS and updated the IP field with this local IP address, and that worked as well.

It seems WHMCS may have updated its rules for adding a new server, which might be causing some confusion.

Hope this helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated