title: How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers
body: <p>I've spent most of the day trying to configure the Fiware PEP proxy Wilma to secure an Orion Context Broker i have running on a development server. The documentation here: <a href="http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/PEP_Proxy_-_Wilma_-_Installation_and_Administration_Guide" rel="nofollow">http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/PEP_Proxy_-<em>Wilma</em>-_Installation_and_Administration_Guide</a> is not clear.</p>
  
  <p>Here is my setup:</p>
  
  <ul>
  <li>A Fiware Keyrock instance running on server1, port 3000 </li>
  <li>A PEP Proxy running on server 1 </li>
  <li>An Orion Context Broker running on server2, port 1026</li>
  </ul>
  
  <p>The manual states to edit the config.js script. Here is what i changed (Stackoverflow prevents me from entering url's so replace http.. with http:)</p>
  
  <hr>
  
  <pre><code>config.account_host = 'http..//localhost:3000';
  
  config.keystone_host = 'http..//server1';
  config.keystone_port = 3000;
  
  config.app_host = 'server2';
  config.app_port = '1026';
  
  config.username = '***** username of the user in Keyrock *****';
  config.password = '***** password of the user in Keyrock *****';
  </code></pre>
  
  <hr>
  
  <p>Here is the error</p>
  
  <hr>
  
  <blockquote>
    <p>~/fi-ware-pep-proxy$ node server.js
    express deprecated app.configure:
    Check app.get('env') in an if statement server.js:30:5 Starting PEP proxy. Keystone authentication ... Error in keystone communication
    Error: getaddrinfo ENOTFOUND
        at errnoException (dns.js:37:11)
        at Object.onanswer [as oncomplete] (dns.js:124:16)</p>
  </blockquote>
  
  <hr>
  
  <p>My Orion and Keyrock instances are up and running. I can query them with curl or a browser. </p>
  
  <p>I really have no idea what i should be filling in the config.js to get this set up.</p>