WELCOME TO CLOUD MATTER

Search
  • Roman Guoussev-Donskoi

Proxies

Updated: May 5, 2019

Visual Studio Proxy

devenv.exe.config in Visual Studio installation directory


NuGet proxies

C:\Users\<your-user-name>\AppData\Roaming\NuGet\NuGet.Config

(actual values of username and password can be irrelevant for many proxies)

Note: this settings helps in some operations but has shown problems with package installations.. Will take a look when get a chance.


PowerShell Proxies


set HTTP_PROXY=http://user:password@proxy.domain.com:port


or

$proxyString = "http://127.0.0.1:8888"

$proxyUri = new-object System.Uri($proxyString)

[System.Net.WebRequest]::DefaultWebProxy =     new-object System.Net.WebProxy ($proxyUri, $true)


If Need Credentials

(New-Object System.Net.WebClient).Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials


Azure CLI

SET HTTPS_PROXY=http://user:password@xxx.xx.xx.xx:port

SET HTTP_PROXY=http://user:password@xxx.xx.xx.xx:port


Maven

in settings.xml

<proxies>

<proxy>

<active>true</active>

<protocol>http</protocol>

<host>xxx.xx.xx.xx.</host>

<port>port#</port>

<!--nonProxyHosts>local.net</nonProxyHosts -->

</proxy>

</proxies>


39 views0 comments

Recent Posts

See All

Databricks is an amazing platform for data engineering, data science and machine learning. One of the critical requirements of secure data processing is data audit - the ability to identity what data

SAS access to storage account is very convenient and easy and while Microsoft recommends that you use Azure AD credentials when possible as security best practice still SAS sometimes hard to avoid. Le

 

Subscribe

 

CONTACT

Your details were sent successfully!

Computers