Skip to content

Commit a5e864a

Browse files
Update content/copilot/how-tos/configure-personal-settings/configure-network-settings.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c5bbba2 commit a5e864a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/copilot/how-tos/configure-personal-settings/configure-network-settings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ If you have configured a proxy but are still encountering connection errors, see
7474
{% data variables.product.prodname_copilot_short %} for {% data variables.product.prodname_vs %} does not retrieve authentication credentials from the Windows settings.
7575

7676
If you need to authenticate to a proxy, you can try one of the below:
77-
1. Enable passing default proxy credentials by setting the environment variable COPILOT_USE_DEFAULTPROXY to true.
77+
1. Enable passing default proxy credentials by setting the environment variable `COPILOT_USE_DEFAULTPROXY` to `true`.
78+
- **Windows example**: Open the Command Prompt and run the following command:
79+
```
80+
setx COPILOT_USE_DEFAULTPROXY true
81+
```
82+
This sets the variable permanently for your user account. Restart any applications that need to use this variable.
7883
2. You can include your credentials in the proxy URL (for example: `http://USERNAME:PASSWORD@10.203.0.1:5187/`), then set this URL as one of the supported environment variables listed in [Proxy settings for {% data variables.product.prodname_copilot_short %}](/copilot/concepts/network-settings-for-github-copilot#proxy-settings-for-copilot).
7984
8085
{% endvisualstudio %}

0 commit comments

Comments
 (0)