Ruby on Rails Tuesday, June 30, 2015

On Tuesday, June 30, 2015 at 8:43:48 PM UTC+1, Yoon-Ho Choi wrote:
> Hi~
>
>
> I have raspberry pi 2 and odroid c1 server. (arm v7)
> There's same trouble on rails 4.2.x(4.2.0~4.2.3)
> I can not connect rails server page. (there's no error)
> I could not find a log(blank file).
> I'm using rbenv. Already, I had tested ruby source compile, too.
>
>
> But There was not problem on rails 4.1.x


One of the changes in 4.2 was to change rails server to bind to localhost only by default - you can only connect to the server from the same machine. To restore the old behaviour you can pass the -b option eg

rails s -b 0.0.0.0 #listens on all interfaces

Or

rails s -b 192.168.1.124 #listen on that particular interface

Fred.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a3888a9b-72a5-40f6-a7ac-c138702510de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment