WordPress could not establish a secure connection to WordPress.org

Copyright: Life program https://blog.csdn.net/cnpinpai/article/details/84574972

WordPress could not establish a secure connection to WordPress.org problem , currently find two solutions, both try, which would not change it to another!

1, modify the IP address in the resolv.conf

we / etc / resolv.conf

Google modify the DNS or other

nameserver 8.8.8.8

nameserver 8.8.4.4

Storage;

To put it plainly, is modified to Google's dns nothing, but I still like the test does not work, then try Method 2 bar.

2, first ping the server IP api.wordpress.org get 66.155.40.249 Open host file to add

66.155.40.249    api.wordpress.org

Save, refresh the background, perfect! !

host file system path win: c: \ windows \ system32 \ drivers \ etc

Road linux host file system

#vi /etc/hosts

Add the following line to the end of the file

66.155.40.249    api.wordpress.org

After modifying Network Service Restart

/etc/init.d/network restart

Try it all, because my agriculture was experiencing this stood resolved, but did not understand, which is specific to this issue is resolved. . Haha

Guess you like

Origin blog.csdn.net/cnpinpai/article/details/84574972