I can not connect rails server page.

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.

Thanks a lot! :slight_smile:

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