我试图在windows中连接localhost:3000
rails server在vagrant中运行(ubuntu 14.10)
portforwarding已完成
什么时候,我lynx 127.0.0.1:3000在ubunutu 尝试
,它的工作原理
但是,在Windows中,我无法连接localhost:3000,127.0.0.1:3000
刚刚显示ERR_CONNECTION_REFUSED
在cmd中,我运行的netstat -t结果是:3000 TIME_WAIT
我怎么解决这个问题?
这是我的'Vagrantfile'
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# …Run Code Online (Sandbox Code Playgroud) ruby ruby-on-rails vagrant ruby-on-rails-4 ruby-on-rails-4.2