Skip to content

View In App not working using Dev Containers #120

@donverduyn

Description

@donverduyn

Description

"View In App" doesn't work, when the local environment is running from inside a dev container, even though the ports 3000 and 1442 are forwarded. This is not the case when running the dev server locally on the host machine.

Steps to Reproduce

Please be detailed and include all steps and information necessary to reproduce the issue.

  1. Create dev container (Node & Typescript)
  2. add port 3000 and 1442 to forwardPorts in devcontainer.json
  3. Initialize project inside container
  4. npm run start
  5. localhost:3000 -> View in App

Expected Behavior

That the page doesn't show an error

Actual Behavior

The page shows an error, that the local dev server is not running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions