Which command did you use to start the server? You need to use this one:
bundle exec rails server --binding=0.0.0.0