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 specifying dns name for forwarded port #5635

Closed
2 tasks done
alexr00 opened this issue Sep 27, 2021 · 0 comments
Closed
2 tasks done

Test specifying dns name for forwarded port #5635

alexr00 opened this issue Sep 27, 2021 · 0 comments
Assignees
Labels
testplan-item Test plan item/assignments for upcoming release

Comments

@alexr00
Copy link
Member

alexr00 commented Sep 27, 2021

Refs: #3450

Complexity: 5

Create Issue


If you already have a setup where you want to specify a dns name then feel free to use that! Otherwise, here's out get one:

  1. Clone https://github.com/microsoft/vscode-dev-containers
  2. Checkout branch alexr00/testPortDns
  3. In VS Code, run the command Remote-Containers: Open Folder in Container... and choose this folder from your cloned repo: ./containers/javascript-node-mongo
  4. To test that the port is forwarded correctly:
    1. Clone https://github.com/alexr00/test-mongo-connection-project locally
    2. npm install then npm run start and verify that you get the successful connection message.

Things to verify:

  1. Verify that you can specify a port with a dns in forwardPorts in devcontainer.json.
  2. Verify that you can forward a port from the forwarded ports view with a dns specified (using the above example, enter "db:27017" when forwarding a port).
@alexr00 alexr00 added the testplan-item Test plan item/assignments for upcoming release label Sep 27, 2021
@alexr00 alexr00 added this to the September 2021 milestone Sep 27, 2021
@stuartleeks stuartleeks removed their assignment Sep 28, 2021
@rebornix rebornix removed their assignment Sep 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testplan-item Test plan item/assignments for upcoming release
Projects
None yet
Development

No branches or pull requests

4 participants