Skip to content

Conversation

BlankSourceCode
Copy link
Owner

This PR fixes #2 by adding a new --bind <ip address> option.

This option will allow the http server to bind to a specific network adapter rather than all (0.0.0.0 by default). This may be useful in some scenarios.

Important
Due to a browser security feature, display sharing won't work for the local browser hosting the session when you bind to something other than the default. This is because browsers prevent display sharing over http unless it is from localhost.

To combat this, you can use the --unsafely-treat-insecure-origin-as-secure flag in chromium based browsers to re-enable sharing.

  • Added new --bind option
  • Updated readme with information about the --unsafely-treat-insecure-origin-as-secure setting

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

Successfully merging this pull request may close these issues.

Ability to bind to a network adapter/IP
1 participant