Rails Tutorial - unable to run rails server

rails

#1

I’m on Section 1.3.2 in the rails tutorial. Nothing is showing up on the the browser after running “rails server” and “rails server -b $IP -p $PORT”.

Here is my gemfile:
source ‘https://rubygems.org

gem 'rails',        '5.1.4'
gem 'puma',         '3.9.1'
gem 'sass-rails',   '5.0.6'
gem 'uglifier',     '3.2.0'
gem 'coffee-rails', '4.2.2'
gem 'jquery-rails', '4.3.1'
gem 'turbolinks',   '5.0.1'
gem 'jbuilder',     '2.7.0'

group :development, :test do
  gem 'sqlite3', '1.3.13'
  gem 'byebug',  '9.0.6', platform: :mri
end

group :development do
  gem 'web-console',           '3.5.1'
  gem 'listen',                '3.1.5'
  gem 'spring',                '2.0.2'
  gem 'spring-watcher-listen', '2.0.1'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Here is the error after running “rails server”:
=> Booting Puma
=> Rails 5.1.4 application starting in development
=> Run rails server -h for more startup options
Puma starting in single mode…
* Version 3.9.1 (ruby 2.4.1-p111), codename: Private Caller
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:8080
Use Ctrl-C to stop
Started GET “/” for 136.26.51.41 at 2018-02-08 09:11:19 +0000
Cannot render console from 136.26.51.41! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by Rails::WelcomeController#index as HTML
Rendering /usr/local/rvm/gems/ruby-2.4.1@global/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
Rendered /usr/local/rvm/gems/ruby-2.4.1@global/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
Completed 200 OK in 119ms (Views: 5.2ms)

After running “rails rails server -b $IP -p $PORT”:
=> Booting Puma
=> Rails 5.1.4 application starting in development
=> Run rails server -h for more startup options
Puma starting in single mode…
* Version 3.9.1 (ruby 2.4.1-p111), codename: Private Caller
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://127.0.0.1:8080
Use Ctrl-C to stop
Started GET “/” for 136.26.51.41 at 2018-02-08 09:12:00 +0000
Cannot render console from 136.26.51.41! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by Rails::WelcomeController#index as HTML
Rendering /usr/local/rvm/gems/ruby-2.4.1@global/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
Rendered /usr/local/rvm/gems/ruby-2.4.1@global/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
Completed 200 OK in 128ms (Views: 5.4ms)