anchor.diff:  
       <%= image_tag("./images/proxy.png") %>
   
  -1. Click **OK**.+1. Click **OK**.
  
positive.code: ---
  title: Using the cf CLI with an HTTP Proxy Server
  owner: CLI
  ---
  
  <strong><%= modified_date %></strong>
  
  If you have an HTTP proxy server on your network between a host running the cf CLI and your Cloud Foundry API endpoint, you must set `https_proxy` with the hostname or IP address of the proxy server.
  
  The `https_proxy` environment variable holds the hostname or IP address of your
  proxy server.
  
negative.code: If the proxy server uses a port other than 80, include the port number:
  `https_proxy=http://username:password@proxy.example.com:8080`
  
  If the proxy server is a SOCKS5 proxy, specify the SOCKS5 protocol in the URL: 
  `https_proxy=socks5://socks_proxy.example.com`
  *NOTE:`cf logs` and `cf ssh` do not work through a SOCKS5 proxy* 
  
  ## <a id="mac-linux"></a>Setting https_proxy in Mac OS or Linux ##
  
  