前提・実現したいこと
AWS Cloud9 で MailCatcherを使いたいです。
発生している問題・エラーメッセージ
特にエラーはないのですが、どのようにアクセスすればいいのかが分かりません。
該当のソースコード
$ mailcatcher --http-port 8081 --ip $IP Starting MailCatcher ==> smtp://127.0.0.1:1025 /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/thin-1.5.1/lib/thin/server.rb:104: warning: constant ::Fixnum is deprecated ==> http://127.0.0.1:8081/ *** MailCatcher runs as a daemon by default. Go to the web interface to quit. ec2-user:~/environment/taskleaf $ mailcatcher --http-port 8081 --ip $IP
ruby
1/アプリの名前/config/environments/development.rb 2 3 config.action_mailer.delivery_method = :smtp 4 config.action_mailer.smtp_settings = { address: '127.0.0.1', port: 1025 }
試したこと
旧cloud9では
https://xxx-xxx-xxx.c9users.io:8081/
でアクセスできるみたいなのですが、よくわかりません。
また、cloud9でのワークスペース名とユーザー名はどこで確認すればよろしいのでしょうか?
http://127.0.0.1:8081/ smtp://127.0.0.1:1025 http://localhost:3000/ http://localhost:8000/ http://localhost:8081/
上記のアドレスをブラウザに入力しても
「このサイトにアクセスできません」と表示されてしまいます。
補足情報(FW/ツールのバージョンなど)
あなたの回答
tips
プレビュー