Skip to content

Add link to open any port in dashboard #1624

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

Closed
Tracked by #3516
presleyp opened this issue May 20, 2022 · 33 comments
Closed
Tracked by #3516

Add link to open any port in dashboard #1624

presleyp opened this issue May 20, 2022 · 33 comments
Assignees
Labels
site Area: frontend dashboard
Milestone

Comments

@presleyp
Copy link
Contributor

presleyp commented May 20, 2022

Once #3753 is merged, users can navigate to ports running on their agent from the web browser 🌏 🔗

For example, if I have a Python server running on port 3333 on my main agent in my blue workspace on dev.coder.com, I can access the app via: https://bpmct--blue--main--3333.dev.coder.com/ OR https://dev.coder.com/@bpmct/blue/apps/3333/.

Prior art

@code-asher created a port-forwarding dropdown in the workspaces that also auto-detects ports via agent: #1824. This was previously blocked by no backend routing (#3753).

TODO

  • There are some todos in feat: port forwarding dropdown #1824
  • If an admin doesn't set up a wildcard domain, the port forwarding dropdown should not use a subdomain.
    • Coder Classic entirely disabled port forwarding via the dashboard when coderd. devurlsHost was not set.
    • @bpmct suggestion: use a deployment-wide environment variable to enable subdomain apps. When disabled, use path URLs and link to docs to enable subdomains via the dropdown (many apps don't work by default as a path).
@presleyp presleyp added Community MVP 🏁 site Area: frontend dashboard labels May 20, 2022
@presleyp presleyp added this to the Community MVP milestone May 20, 2022
@f0ssel

This comment was marked as outdated.

@ammario

This comment was marked as outdated.

@ketang

This comment was marked as outdated.

@ammario

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@kylecarbs

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@kylecarbs

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@kylecarbs

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@kylecarbs

This comment was marked as outdated.

@ammario

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@jsjoeio

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@presleyp

This comment was marked as outdated.

@BrunoQuaresma

This comment was marked as outdated.

@misskniss

This comment was marked as outdated.

@tjcran

This comment was marked as outdated.

@ketang

This comment was marked as outdated.

@ammario

This comment was marked as off-topic.

@ketang

This comment was marked as outdated.

@ammario

This comment was marked as outdated.

@kylecarbs

This comment was marked as outdated.

@kylecarbs

This comment was marked as outdated.

@bpmct

This comment was marked as outdated.

@Emyrk Emyrk assigned Emyrk and unassigned kylecarbs Aug 24, 2022
@bpmct bpmct changed the title Add link to open any port Add link to open any port in dashboard Aug 30, 2022
@bpmct bpmct unassigned Emyrk Aug 30, 2022
@bpmct bpmct modified the milestones: Community MVP, EE Aug 30, 2022
@BrunoQuaresma BrunoQuaresma self-assigned this Sep 1, 2022
@BrunoQuaresma
Copy link
Collaborator

Done in #3812

@ammario
Copy link
Member

ammario commented Sep 20, 2022

@deansheather is taking another stab at this.

@ammario ammario reopened this Sep 20, 2022
@kylecarbs
Copy link
Member

This is now done!

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

Successfully merging a pull request may close this issue.