Skip Navigation

Configure .NET framework to use a web proxy

  1. Open Notepad as administrator and open the following file:
    C:\Windows\Microsoft.NET\framework\v4.0.30319\config\machine.config
  2. Search for 
    <system.net>
    . If 
    <system.net>
     is not found, add the following text as the second line from the end (</configuration>) and substitute the proxy address as appropriate for the environment:
    <system.net> <defaultProxy> <proxy autoDetect="false" bypassonlocal="true" proxyaddress="http://proxy_host:8080" /> </defaultProxy> </system.net>
  3. Save and close the file.
  4. Open Notepad as an administrator and open the following file:
    C:\Windows\Microsoft.NET\framework\v4.0.30319\config\web.config
  5. Search for 
    <system.net>
    . If 
    <system.net>
     is not found, add the following text as  the second line from the end (</configuration>) and substitute the proxy address as appropriate for the environment:
    <system.net> <defaultProxy> <proxy autoDetect="false" bypassonlocal="true" proxyaddress="http://proxy_host:8080" /> </defaultProxy> </system.net>
  6. Save and close the file.
  7. Open up a command prompt as administrator and run the following command, substituting the proxy address as appropriate for the environment:
    C:\Windows\syswow64\netsh.exe winhttp set proxy http://proxy_host:8080 bypass-list="*.customernetwork.com"
    The bypass-list argument is optional, but it can be used to allow BlackBerry AtHoc to poll itself (health monitors) without going through the proxy.
  8. Execute the following command to verify the proxy setting:
    C:\Windows\syswow64\netsh.exe winhttp show proxy
  9. Issue the following commands to restart the 
    BlackBerry AtHoc
     application:
    iisreset /stop iisreset /start