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 1 year has passed since last update.

rails http://localhost:3000/が開かない

Last updated at Posted at 2023-03-09

http://localhost:3000/が開きません

現在http://localhost:3000/に入ろうとすると、
このサイトにアクセスできませんとでで閲覧することができません。

pc mac
○原因
今までは、普通に見れていたが、再起動後閲覧できなくなった。

○わかったこと
・ERR_CONNECTION_REFUSEDエラーはインターネット接続ではなく、ウェブサイトのサーバーが原因で発生する
・サーバーは起動したか ?
→これでした笑

○実践
「localhost 3000 接続できない mac」
で検索
・他のブラウザで開く、シークレットモードで開く
→ダメ
・ブラウザのキャッシュをクリア
→ダメ

・サーバーを起動していないことが原因 → 結果解決

$rails s

ターミナルにて上記を実行。
その後、サイトを確認したところ、無事閲覧することができました。👏

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?