Using WHMCS API to connect to OpenSRS Domain Registration

If you are getting:

Socket 110 Time Out

Make sure you open ports 55443 and 55000 / TCP inbound and outbound

If you are using CSF / this can be done by adding inside of the CSF configuration.

Same for APF

Or add inside of IPTables

Be sure your ISP / Web Hosting Provider is not blocking at the edge firewall.

The Misleading or sorta misleading error is "after" you open the ports you "may" get:

API Connection Failure. Please open ports 55443 and 55000 in your servers firewall.

Which leads you to believe there is something else is blocking the required ports.

You could try:

You can also try it for the Test/Horizon environment by using "telnet horizon.opensrs.net 55000".

If you can't see the XML greeting once you connect, speak with your server and network administrators and see if they can open that outbound ports for 55000 and 55443.

*** However most likely the issue is:

You need to add the server ip address inside of OpenSRS Control Panel for "adding IP address for API access"

After you add your IP Address / you need to wait for at most 60 min to take effect.

That should resolve the issue.

Cheers,

Dave

(HC) HostCheetah.com "Where Kool Kats Host"