Skip to content

Commit 177f722

Browse files
committed
updates
1 parent 2c75f23 commit 177f722

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

articles/ai-studio/how-to/configure-managed-network.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -774,22 +774,20 @@ To allow installation of __Python packages for training and deployment__, add ou
774774
Visual Studio Code relies on specific hosts and ports to establish a remote connection.
775775

776776
#### Hosts
777-
If you plan to use __Visual Studio Code__ with the hub, add outbound _FQDN_ rules to allow traffic to the following hosts:
778-
779-
* `*.vscode.dev`
780-
* `vscode.blob.core.windows.net`
781-
* `*.gallerycdn.vsassets.io`
782-
* `raw.githubusercontent.com`
783-
* `*.vscode-unpkg.net`
784-
* `*.vscode-cdn.net`
785-
* `*.vscodeexperiments.azureedge.net`
786-
* `default.exp-tas.com`
787-
* `code.visualstudio.com`
788-
* `update.code.visualstudio.com`
789-
* `*.vo.msecnd.net`
790-
* `marketplace.visualstudio.com`
791-
* `pkg-containers.githubusercontent.com`
792-
* `github.com`
777+
778+
The hosts in this section are used to install Visual Studio Code packages to establish a remote connection between Visual Studio Code and the compute instances for your project.
779+
780+
> [!NOTE]
781+
> This is not a complete list of the hosts required for all Visual Studio Code resources on the internet, only the most commonly used. For example, if you need access to a GitHub repository or other host, you must identify and add the required hosts for that scenario. For a complete list of host names, see [Network Connections in Visual Studio Code](https://code.visualstudio.com/docs/setup/network).
782+
783+
| __Host name__ | __Purpose__ |
784+
| ---- | ---- |
785+
| `*.vscode.dev`<br>`*.vscode-unpkg.net`<br>`*.vscode-cdn.net`<br>`*.vscodeexperiments.azureedge.net`<br>`default.exp-tas.com` | Required to access vscode.dev (Visual Studio Code for the Web) |
786+
| `code.visualstudio.com` | Required to download and install VS Code desktop. This host isn't required for VS Code Web. |
787+
| `update.code.visualstudio.com`<br>`*.vo.msecnd.net` | Used to retrieve VS Code server bits that are installed on the compute instance through a setup script. |
788+
| `marketplace.visualstudio.com`<br>`vscode.blob.core.windows.net`<br>`*.gallerycdn.vsassets.io` | Required to download and install VS Code extensions. These hosts enable the remote connection to compute instances. For more information, see [Get started with Azure AI Foundry projects in VS Code](./develop/vscode.md). |
789+
| `https://github.com/microsoft/vscode-tools-for-ai/tree/master/azureml_remote_websocket_server/*` | Used to retrieve websocket server bits that are installed on the compute instance. The websocket server is used to transmit requests from Visual Studio Code client (desktop application) to Visual Studio Code server running on the compute instance. |
790+
| `vscode.download.prss.microsoft.com` | Used for Visual Studio Code download CDN |
793791
794792
#### Ports
795793
You must allow network traffic to ports 8704 to 8710. The VS Code server dynamically selects the first available port within this range.

articles/ai-studio/how-to/develop/vscode.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ AI app templates are linked from the right side of the **Code** tab of your proj
8484

8585
To provision an entirely new set of resources, including a new hub and project, and deploy these sample applications, you can use the [Azure Developer CLI](/azure/developer/azure-developer-cli/) (AZD) in your local development environment.
8686

87+
## Use network isolation
88+
89+
If your Azure AI Foundry project is configured for network isolation you may need to open ports to the internet, For more information, visit [How to configure network isolation](../configure-managed-network.md#scenario-use-visual-studio-code).
90+
8791
## Remarks
8892

8993
If you plan to work across multiple code and data directories, or multiple repositories, you can use the split root file explorer feature in VS Code. To try this feature, follow these steps:

0 commit comments

Comments
 (0)