0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

rails sコマンド実行時にBlocked host:~、To allow requests to~ のメッセージ

Posted at

## ruby on rail チュートリアル

・cloud9
・rails 6.0.3.2
・ruby 2.6.3p62

エラー内容

スクリーンショット 2020-08-02 20.03.00.jpg

##対処方法

以下追記する

config¥application.rb
config.hosts << 'To Allow requests to からのアドレスをコピペする'

起動コマンド実行
$ rails s
スクリーンショット 2020-08-02 20.00.23.jpg
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?