C
Coder.com•7mo ago
SpraY

How to use experimental port sharing

I am currently running latest coder-preview image and have this set as environment variable for Coder instance:
environment:
CODER_EXPERIMENTAL: "true"
environment:
CODER_EXPERIMENTAL: "true"
The issue is that I do not see such options as in an image
No description
Solution:
It's CODER_EXPERIMENTS: "shared-ports"
Jump to solution
14 Replies
Codercord
Codercord•7mo ago
<#1235514942384246834>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
Atif
Atif•7mo ago
It's CODER_EXPERIMENTS: "shared-ports"
Atif
Atif•7mo ago
Experiment names should be explicitly defined
SpraY
SpraYOP•7mo ago
That fixed it, but now I am not really sure why Public is not allowed when it's enabled in the settings
No description
No description
Atif
Atif•7mo ago
Do you have an enterprise license? It can only be controlled on an enterprise
SpraY
SpraYOP•7mo ago
Oh, I assumed you required enterprise license when you need to control the maximum allowed and not the option to set the workspace level to public
Atif
Atif•7mo ago
Hey @kirby could help clear the confusion here? Thank you 🙂
Stephen
Stephen•7mo ago
I am assuming you didn't mean to @me and instead the coder team member Steven!
Atif
Atif•7mo ago
Yes sorry :/
Stephen
Stephen•7mo ago
Hey let me quickly check with engineering and i’ll get back to you here. You should be able to use all sharing levels on an OSS deployment. This may be a bug
Stephen
Stephen•7mo ago
This was a bug we resolved on March 11th: https://github.com/coder/coder/issues/12480
GitHub
Can't select public sharing level for shared port · Issue #12480 ...
Maximum sharing level on the template is set to "Public" but it can't selected in the UI for a given workspace. The public option is not disabled in the dropdown, but isn't clicka...
Atif
Atif•7mo ago
Thanks. This was fixed in https://github.com/coder/coder/pull/12484 which should be available in versions >=2.9.0 Whats your Coder version?
SpraY
SpraYOP•7mo ago
The version is this one
No description
Want results from more Discord servers?
Add your server