即使服务器正在运行,也无法打开rails app

时间:2013-12-12 19:50:04

标签: ruby-on-rails localhost

我一直在开发一个带有虚拟机和流浪汉的rails应用程序。直到昨天,一切都运转良好。但是,当我尝试运行服务器并打开浏览器时,它无法正常工作。我试过Chrome,Firefox和Safari,但错误仍然存​​在。我检查了我的开发日志,这就是它所说的。

昨天的日志:

Started GET "/" for 10.0.2.2 at 2013-12-11 06:38:31 +0000 Processing by HomeController#index as HTML   Rendered home/index.html.erb within layouts/application (43.6ms) Completed 200 OK in 159ms (Views: 158.0ms | ActiveRecord: 0.0ms)

今天的日志说:

Started GET "/" for 127.0.0.1 at 2013-12-12 19:02:04 +0000
  [1m[36mActiveRecord::SchemaMigration Load (1.4ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as */*
  Rendered home/index.html.erb within layouts/application (212.7ms)
Completed 200 OK in 595ms (Views: 555.4ms | ActiveRecord: 0.0ms)
  [1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
  [1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m  SELECT "schema_migrations".* FROM "schema_migrations"

有人可以解释为什么它试图连接的地址看起来有所不同吗?还有什么需要做才能再次连接到它?

感谢。

0 个答案:

没有答案