RailsアプリをRenderにデプロイしたい

実現したいこと

RailsアプリをRenderにデプロイ成功させる

前提

Railsチュートリアルの第6章に取り組んで、最後にRenderにデプロイしようとしたところ、Build failedとなって正常にデプロイができませんでした。
開発環境はAWSのCloud9を使用しています。

エラーメッセージ

rails aborted! ActiveRecord::ConnectionNotEstablished: connection to server at "10.211.236.24", port 5432 failed: Connection timed out Is the server running on that host and accepting TCP/IP connections? Caused by: PG::ConnectionBad: connection to server at "10.211.236.24", port 5432 failed: Connection timed out Is the server running on that host and accepting TCP/IP connections? Tasks: TOP => db:migrate

試したこと

エラーメッセージを調べたところ、データベースが起動していないかもしれないと思い、同じくRenderで作成したPostgreSQLをRestartしてみましたが、解決しませんでした。

補足情報(FW/ツールのバージョンなど)

ここにより詳細な情報を記載してください。

コメントを投稿

0 コメント