Jump to content

Test connection stuck when adding a new server


Recommended Posts

Hi everyone,

So I reinstalled a clean copy of WHMCS (v7.7.1) and I am in the process of configuring my reseller servers. 

I enter all the information but when I click on Test Connection I get a message saying Testing Connection... but nothing ever happens, it just keeps loading

image.png.89e6ca84ef03757171b0ecf0b65d2076.png


I generated a new API token in WHM and confirm my login details but no luck. I can also log into WHM and cPanel directly with the credentials I entered above so this means the credentials are correct.

When I click on save changes and click on Login to WHM:

image.png.082cc992dae5108d348108952bbee9dc.png

I get the following error:

An Error Occurred
cPanel API Unreachable: Connection Error: Failed to connect to 169.239.217.26 port 2087: Connection refused(7)

So I did some investigation and looking at THIS POST it seems like a

Quote

firewall or other security measure on your server blocking the connection on port 2087

Please excuse my lack of knowledge here but if this is the case how do I check if it is the firewall and if it is the cause how do I rectify it?

Any advice would greatly be appreciated. 

Link to comment
Share on other sites

Changing the firewall settings would depend on what firewall you have setup.  CSF, iptables, firewalld, something else.   Since you are able to access WHM, port 2087 should be accessible to WHMCS also unless you have specific rules allowing you in.   What could be happening is the firewall is blocking outbound connections to port 2087 .

Also, as you are trying to connect to a reseller account, you have no real control over the firewall on that server and as such should contact the host.  If your WHMCS install is on a different server than what you are trying to setup in WHMCS, then you may need to contact that server's host also to check outbound rules. 

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