Jump to content

WHMCS & OpenSRS Connection Issues


Rockyuk

Recommended Posts

Hi Everyone,

I have moved servers recently and i am now unable to connect to OpenSRS anymore. I have got the host to open all the relevant ports and i have added the IP's to the API but keep getting the following error "There was a problem connecting to the domain registry. Please check port 43 is open in your servers firewall."

 

Any ideas?

 

Thanks

 

Rockyuk

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

It sounds like you're getting this error when trying to check a domain's availability, rather than when trying to connect to OpenSRS.

 

Please ensure that port 43 is open in your server firewall for whois lookups to go through.

Link to comment
Share on other sites

Hi John,

My host is telling me that port 43 is open and the error is still coming up. Due to my site being hosted on a shared environment i cannot confirm myself. Is there a way i can send something the host to prove or disapprove the port is open and they can paste me the output on support ticket?

 

Thanks

 

Rockyuk

Link to comment
Share on other sites

try uploading the test PHP script from the page below...

 

https://watchmy.domains/kb/httpwhois.php

 

then try the URL below (changing yourdomain.com) in your browser to see if it can access the whois servers...

 

http://yourdomain.com/whois.php?domain=whmcs.com&server=whois.verisign-grs.com
or
http://yourdomain.com/whois.php?domain=whmcs.com&server=whois.godaddy.com

all being well, you should see a successful output (the whois record) in the browser - if you don't, then that would imply port 43 is closed.

 

i've tried it on shared hosting previously as a test to see if port 43 is open or not.

Link to comment
Share on other sites

Could you let me know the exact line in the script that is querying the remote system/WHOIS please? As my current host is asking because we both can't get the test script to work.

well there isn't exactly one line that queries the whois, it's a series of functions that come together in the final piece of code...

 

if($domain != "")
{
   if($server != "")
       echo "<pre>" . do_whois($domain, $server) . "</pre>";
   else
       echo "<pre>" . domain_whois($domain) . "</pre>";
}

when you say it doesn't work, you mean it states that it can't connect to the whois server, or it doesn't give any error at all?

 

try it without specifying a whois server...

 

http://yourdomain.com/whois.php?domain=google.com

your host should be able to use telnet to see if port 43 is open.

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