前提・実現したいこと
よろしくお願いします。
Rails tutorialをcloud9を使って進めていきたいと思っています。
1.3.2 rails serverのところで、Preview Running Applicationを押してもページが表示されず、「接続が拒否されました」というメッセージが出ています。
該当のソースコード
ec2-user:~/environment/hello_app (master) $ rails server
=> Booting Puma
=> Rails 5.1.6 application starting in development
=> Run rails server -h
for more startup options
Puma starting in single mode...
- Version 3.9.1 (ruby 2.6.0-p0), codename: Private Caller
- Min threads: 5, max threads: 5
- Environment: development
- Listening on tcp://localhost:8080
Use Ctrl-C to stop
Started GET "/" for 106.160.73.243 at 2019-05-12 09:42:00 +0000
Cannot render console from 106.160.73.243! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by ApplicationController#hello as HTML
Rendering html template
Rendered html template (0.0ms)
Completed 200 OK in 285ms (Views: 7.6ms)
補足情報(FW/ツールのバージョンなど)
config/environment/developments/development.rb内のホワイトリストに106.160.73.243を登録するのを試してみましたが、ページは表示されませんでした。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/14 09:49