• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problems with fsockopen in php to do a whois on port 43

J

jaimet

Guest
Hi,

I'm trying to execute a PHP script on a plesk 9 server. The main point of the script is to execute a socket request to whois.crsnic.net so i can check if a domain is available or not.

When i execute the script on my computer, everyting works fine; but when doing it on the server i get a connection timed out error message.

So i think that my server is blocking the requests i do with this script on port 43. I've tried to setup the plesk firewall, opening the port but still the same. Maybe i'm doing soemthin wrong...

Is this a firewall problem?

Php?

Other?

I'm desperate.
 
Sorry to bring this thread up from the dead, but I am experiencing the same issue. Can anybody else shed some light on this? The same script works on a different server just fine. Port 43 IS open on the trouble machine.
 
Back
Top