I can not connect rails server page


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

rails new test2
cd test2
bundle install
rails server

c1omv:~/work/test2# rails s
=> Booting WEBrick
=> Rails 4.2.3 application starting in development on
=> Run rails server -h for more startup options
=> Ctrl-C to shutdown server
[2015-07-01 02:24:55] INFO WEBrick 1.3.1
[2015-07-01 02:24:55] INFO ruby 2.0.0 (2013-11-22)
[2015-07-01 02:24:55] INFO WEBrick::HTTPServer#start: pid=21393

On Tuesday, June 30, 2015 at 8:43:48 PM UTC+1, Yoon-Ho Choi wrote:

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 #listens on all interfaces


rails s -b #listen on that particular interface


Thanks a lot! :slight_smile:

2015년 7월 1일 수요일 오전 4시 53분 59초 UTC+9, Frederick C. 님의 말: