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

Test auto forwarding root ports #4716

Closed
2 tasks done
alexr00 opened this issue Mar 22, 2021 · 0 comments
Closed
2 tasks done

Test auto forwarding root ports #4716

alexr00 opened this issue Mar 22, 2021 · 0 comments

Comments

@alexr00
Copy link
Member

alexr00 commented Mar 22, 2021

Refs: #4654

Complexity: 2

Create Issue


  1. Connect to a linux remote. For SSH, open your Machine user settings and change the remote.autoForwardPortsSource to process then reload.
  2. Start a process that runs as root and listens on a port and has the port number in the command line. Some examples if you need inspiration:
  • sudo npx http-server -p 5000
  • Open the VS Code repo in a Codespace. Port 6080 fits these requirements.
  1. Verify that:
  • if you have the ports already forwarded that they get their "Running Process" cell filled in correctly in the Ports view.
  • if the port wasn't already forwarded that you get the auto-forward notification.
    Pay particular attention to the "Running Process" column of the Ports view. The pid and command line should be correct, but it is possible they could be incorrect (in that case please file a bug!).
@alexr00 alexr00 added this to the March 2021 milestone Mar 22, 2021
@ghost ghost assigned RMacfarlane and lszomoru Mar 23, 2021
@RMacfarlane RMacfarlane removed their assignment Mar 23, 2021
@lszomoru lszomoru removed their assignment Mar 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants