Wordpress unable to connect to WordPress.org

Jackster

Active Member
Oct 29, 2010
30
0
56
So we just installed WordPress on out cPanel powered webserver.

It installs fine but it wont connect to the plugin repository.

s9.postimg.org/al36ugfsv/Capture.jpg
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello,

The WordPress support forums are likely a better resource for troubleshooting this issue:

WordPress › Support » How-To and Troubleshooting

You may also want to contact your web hosting provider to verify if any firewall rules are restricting external connections from websites hosted on the server.

Thank you.
 

Jackster

Active Member
Oct 29, 2010
30
0
56
This is a server within our rack, other servers are fine with WP.
It is only the cPanel one causing issues
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello,

Are you using a firewall management application such as CSF? If so, could you verify that no firewall rules are blocking outgoing connections to the IP address associated with the WordPress plugin repo?

Thank you.
 

Jackster

Active Member
Oct 29, 2010
30
0
56
Surprised I did not see this earlier..

The DNS in /etc/resolv.conf was set to the server's own IP.
Must have done this during the cPanel install because it was fine before..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
I'm happy to see you were able to address the issue. Note that while cPanel won't define custom resolvers automatically, it's possible that happened during the initial setup wizard.

Thank you.