Project

General

Profile

Bug #16074

development version listens on 0.0.0.0:3000 and 0.0.0.0:3808 by default

Added by Guido Günther almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

Foreman used to be limited to 127.0.0.1 by default making it safe to develop in public places. Please keep it that way.


Related issues

Related to Foreman - Refactor #12364: Use NPM+Webpack to manage external assets (js, css, fonts)Closed2015-11-02

Associated revisions

Revision 3b10c2a9 (diff)
Added by Shlomi Zadok almost 4 years ago

Fixes #16074 - Adds BIND variable to startup process

Instead of binding to 0.0.0.0 we default to localhost
and use ENV variable BIND to override.
This also introduces '.env' files which helps to set
other ENV variables

Revision b8310821 (diff)
Added by Ondřej Pražák almost 4 years ago

Refs #16074 - Load .env when not running a Procfile

Loads .env file when Webpack is started from node_modules/.bin

Revision 9881ab2d (diff)
Added by Shlomi Zadok almost 4 years ago

Fixes #16074 - Adds BIND variable to startup process

Instead of binding to 0.0.0.0 we default to localhost
and use ENV variable BIND to override.
This also introduces '.env' files which helps to set
other ENV variables

(cherry picked from commit 3b10c2a9a8ba62bbacc4bf11e96e75befa56e645)

Revision fd1e0321 (diff)
Added by Ondřej Pražák almost 4 years ago

Refs #16074 - Load .env when not running a Procfile

Loads .env file when Webpack is started from node_modules/.bin

(cherry picked from commit b83108213d068a13216e9c7e6b4e15bc2cfec171)

History

#1 Updated by Dominic Cleal almost 4 years ago

  • Related to Refactor #12364: Use NPM+Webpack to manage external assets (js, css, fonts) added

#2 Updated by Dominic Cleal almost 4 years ago

  • Category set to Rails
  • Legacy Backlogs Release (now unused) set to 160

Indeed, 127.0.0.1 is the Rails default for this reason. It should require explicit reconfiguration to open a development instance on all interfaces.

#3 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Shlomi Zadok
  • Pull request https://github.com/theforeman/foreman/pull/3830 added

#4 Updated by Shlomi Zadok almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3868 added

Also available in: Atom PDF