Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help: Unable to use Live Share for local network #5150

Open
xibrahimi opened this issue Dec 25, 2024 · 0 comments
Open

Need help: Unable to use Live Share for local network #5150

xibrahimi opened this issue Dec 25, 2024 · 0 comments

Comments

@xibrahimi
Copy link

I'm a teacher trying to use VS Code Live Share to teach coding to my students in a classroom environment. We're running into a frustrating situation that I hope you can help with.
Our Setup & Challenge:

I teach in a classroom where internet connectivity is often unreliable or very slow
I want my students to see my code in real-time through Live Share
All computers are on the same local network (my IP is 192.168.18.24)
Students can ping my computer successfully

What We've Tried:

First attempted normal Live Share connection, but it requires constant internet access to Microsoft's servers
Tried using direct connection mode in settings:

jsonCopy{
    "liveshare.connectionMode": "direct",
    "liveshare.features": "insiders"
}

Attempted to connect using local IP:

Copyvsls://192.168.18.24:5990
But got "Invalid collaboration session URL"

Also tried:

Copyvscode://ms-vsliveshare.vsliveshare/join?hostId=192.168.18.24
This opens VS Code but doesn't establish the connection
Looking at the Documentation:
I see Live Share uses ports 5990-5999 for direct connections, but it seems the protocol still requires authentication through Microsoft's servers even in "direct" mode. For teaching purposes in environments with limited internet, it would be incredibly helpful to have a local-only mode.
Feature Request:
Could we have an option for "local network only" mode that:

Allows direct connections within the same network
Bypasses the need for Microsoft authentication when in this mode
Still maintains security through local network validation
Perhaps with a warning about reduced security features

This would be immensely helpful for:

Teaching environments with limited internet
Corporate environments with strict network policies
Workshops in locations with poor connectivity
Quick pair programming sessions on local networks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant