Title: WP_PROXY_HOST ignored
Last modified: October 30, 2017

---

# WP_PROXY_HOST ignored

 *  [romgo](https://wordpress.org/support/users/romgo/)
 * (@romgo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/)
 * Hello,
 * using wordpress I need to setup a proxy for internet query.
 * In wp-config.php I jave this config :
 *     ```
       define('WP_PROXY_HOST', 'proxy.recette.local');
       define('WP_PROXY_PORT', '8080');
       ```
   
 * But when I go to Home => Update I got an error :
 *     ```
       An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try support forums.
       WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.
       ```
   
 * Any idea on what is wrong ? could this be a bug ?
    -  This topic was modified 8 years, 8 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
      Reason: moved from 'networking' to 'fixing'

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/#post-9633884)
 * 1. Does your proxy host require a login?
    2. What happens if you replace the 
   name of the server with it’s IP address?
 * [https://developer.wordpress.org/reference/classes/wp_http_proxy/](https://developer.wordpress.org/reference/classes/wp_http_proxy/)
 * Please install the health check plugin and report back its findings: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
 *  Thread Starter [romgo](https://wordpress.org/support/users/romgo/)
 * (@romgo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/#post-9633985)
 * Hello,
 * – no login required for my proxy,
    – Same issue with the IP address
 * I just checked the proxy logs. Some trafic is send to the proxy without issues.
   Seems that the error is only triggered when I go on this URL :
    wp-admin/update-
   core.php
 * I’ll check your pluggin.
 *  Thread Starter [romgo](https://wordpress.org/support/users/romgo/)
 * (@romgo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/#post-9634011)
 * Ok,
 * just run the health check here is the warning/error reports :
 * PHP Version 5.6.30-0+deb8u1 – For performance and security reasons, we strongly
   recommend running PHP version 7.0 or higher.
 * Communication with WordPress.org Unable to reach WordPress.org at 66.155.40.249:
 *  Thread Starter [romgo](https://wordpress.org/support/users/romgo/)
 * (@romgo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/#post-9643685)
 * Hello,
 * in fact with proxy settings I can’t upgrade my wordpress instance.
    FYI I have
   exactly the same issue with wordpress 4.8.3
 *  Thread Starter [romgo](https://wordpress.org/support/users/romgo/)
 * (@romgo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/#post-9644207)
 * Ok first thing I solved, the update process needs this packet :
    php5-curl
 * But still getting some drops packet in my firewall, so some stuff ignore proxy
   settings.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WP_PROXY_HOST ignored’ is closed to new replies.

## Tags

 * [proxy](https://wordpress.org/support/topic-tag/proxy/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [romgo](https://wordpress.org/support/users/romgo/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/wp_proxy_host-ignored/#post-9644207)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
