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

web server availability is not enabled by default via Rails 4.2 #61

Closed
st-atila opened this Issue Feb 13, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@st-atila

3.3 Default Host for rails server
Due to a change in Rack, rails server now listens on localhost instead of 0.0.0.0 by default. ..
However, with this change you will no longer be able to access the Rails server from a different machine... In such cases, please start the server with 'rails server -b 0.0.0.0' to restore the old behavior.
from- http://edgeguides.rubyonrails.org/4_2_release_notes.html .

I have successfully edited the Procfile like:
`web: bundle exec rails server -b 0.0.0.0 -p 80 -e ${RAILS_ENV:-production``

Thank You, for making this project!

@nilbus

This comment has been minimized.

Show comment
Hide comment
@nilbus

nilbus Feb 13, 2015

Owner

Good catch! Would you be interested in doing a pull request to share that
change? Otherwise I can do it.

Edward

On Thursday, February 12, 2015, st-atila notifications@github.com wrote:

3.3 Default Host for rails server
Due to a change in Rack, rails server now listens on localhost instead of
0.0.0.0 by default. ..
However, with this change you will no longer be able to access the Rails
server from a different machine... In such cases, please start the server
with 'rails server -b 0.0.0.0' to restore the old behavior.
from- http://edgeguides.rubyonrails.org/4_2_release_notes.html .

I have successfully edited the Procfile like:
web: bundle exec rails server -b 0.0.0.0 -p 80 -e ${RAILS_ENV:-production`

Thank You, for making this project!


Reply to this email directly or view it on GitHub
#61.

Owner

nilbus commented Feb 13, 2015

Good catch! Would you be interested in doing a pull request to share that
change? Otherwise I can do it.

Edward

On Thursday, February 12, 2015, st-atila notifications@github.com wrote:

3.3 Default Host for rails server
Due to a change in Rack, rails server now listens on localhost instead of
0.0.0.0 by default. ..
However, with this change you will no longer be able to access the Rails
server from a different machine... In such cases, please start the server
with 'rails server -b 0.0.0.0' to restore the old behavior.
from- http://edgeguides.rubyonrails.org/4_2_release_notes.html .

I have successfully edited the Procfile like:
web: bundle exec rails server -b 0.0.0.0 -p 80 -e ${RAILS_ENV:-production`

Thank You, for making this project!


Reply to this email directly or view it on GitHub
#61.

@st-atila

This comment has been minimized.

Show comment
Hide comment
@st-atila

st-atila Feb 13, 2015

Thank you, however, I would rather, at this time, if you would be so kind as to do it; this would be my first pull request (I am only just now reading about it, and I don't believe I have enough time to digest the concepts). Thanks.

Thank you, however, I would rather, at this time, if you would be so kind as to do it; this would be my first pull request (I am only just now reading about it, and I don't believe I have enough time to digest the concepts). Thanks.

@nilbus nilbus closed this in afb1371 Feb 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment