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

Allow port settings to take a range of ports #50

Open
gadenbuie opened this issue Apr 29, 2024 · 0 comments
Open

Allow port settings to take a range of ports #50

gadenbuie opened this issue Apr 29, 2024 · 0 comments

Comments

@gadenbuie
Copy link
Collaborator

If port access is controlled in the environment running VS Code, users can set the port-related options to a fixed port to an allowed, open port. However, if the user has multiple VS Code instances open, they are limited to running one Shiny application at a time at the fixed port address.

We could update shiny.python.port, shiny.r.port and shiny.python.autoreloadPort to accept a range or array of ports:

"shiny.python.port": "8010-8020,8123",

The syntax could be {start}-{end} for start through end (inclusive) or comma separated values. The above would include ports 8010, 8011, ..., 8020, and 8123.

This would give system administrators the ability to open a limited range of ports, while allowing multiple apps to be run simultaneously.

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