microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
323 stars 93 forks source link

Inquiry about WebSocket host port range #2445

Closed g-crocker closed 5 days ago

g-crocker commented 2 weeks ago

Hello,

I work in a very restricted environment where host machines deny any unexpected attempts to open WebSocket ports.

I am using the AML Remote extension to connect to a Compute Instance and would like to know if there is a documented range of ports that the extension attempts to use for WebSocket connections on the host machine. I understand that the ports on the AML Compute Instance range from 8704-8993, but I haven't been able to find information about the port range used on the host machine. This information is crucial to properly configure our network security settings.

I've observed that the extension appears to select different ports for WebSocket connections each time it is used, and I haven't been able to identify a specific pattern or range.

Could you please provide any details on the port range or explain how the extension determines which ports to use for WebSocket connections?

Thanks

shsuman commented 2 weeks ago

@g-crocker Please take a look at the required hosts and ports to be whitelisted.