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

Port Problem lösen #12

Closed
jawys opened this issue Nov 11, 2017 · 3 comments
Closed

Port Problem lösen #12

jawys opened this issue Nov 11, 2017 · 3 comments

Comments

@jawys
Copy link
Owner

jawys commented Nov 11, 2017

https://myproject.de/17019/app1 → Port Konflikte (Weiterleiten?)
Port als Environmentvariable mitgeben?
Liste der Aktuellen Ports und der Map auf andere Ports

@Blackfaded
Copy link
Collaborator

Blackfaded commented Nov 14, 2017

find-free-port zum finden freier Ports, gepaart mit Redbird könnte das Problem lösen, so könnte beim Serverstart ein Port ausgelesen werden und per Env. gebunden werden.

17019/app1 könnte auf xxx.xxx.xxx.xxx:3001 gemappt werden.

@parideis
Copy link
Collaborator

Aus dem gelesen Startscript vom User, wird vor seinem befehl "PORT=freePort" angehangen.
Z.B.: "PORT=4444 node index.js"

@parideis
Copy link
Collaborator

  • Freien Port suchen
  • In env schreiben
  • Node App starten
  • Im reverse Proxy registrieren

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

No branches or pull requests

4 participants