我正在尝试创建一个网站,但服务器无法启动

时间:2016-04-16 02:26:02

标签: server loading

我正在尝试建立一个网站,当我开始使用命令rails s时,它说:

<code>
$ rails s 
=> Booting WEBrick 
=> Rails 4.2.5.1 application starting in development on http://localhost:3000 
=> Run `rails server -h` for more startup options 
=> Ctrl-C to shutdown server 
[2016-04-15 15:19:20] INFO  WEBrick 1.3.1 
[2016-04-15 15:19:20] INFO  ruby 2.2.4 (2015-12-16) [i386-mingw32] 
[2016-04-15 15:19:20] INFO  WEBrick::HTTPServer#start: pid=5892 port=3000 
</code>

它没有超过它只是卡在我已经将端口向3000提供并将其添加到防火墙例外列表中并且仍然没有在我爸爸的连接上运行但在我的不是。

这些是我在输入rails之前使用的命令:

s , rails new instagram_app , cd_instagramapp.

1 个答案:

答案 0 :(得分:0)

运行命令“rails s”后。只需打开浏览器窗口并导航到http://localhost:3000

即可

参考:http://guides.rubyonrails.org/getting_started.html#starting-up-the-web-server

相关问题