can't connect to the site - connection refused #685

dyatlov opened this Issue Jan 3, 2015 · 4 comments


None yet

3 participants

dyatlov commented Jan 3, 2015

I know it's old problem..

MBP-Vitaly:dock dyatlov$ fig ps

Name Command State Ports

dock_db_1 /docker- Up>5 432/tcp
dock_web_1 bundle exec Up>30
rackup -p 3000 00/tcp
MBP-Vitaly:dock dyatlov$ boot2docker ip
MBP-Vitaly:dock dyatlov$ fig port web 3000
MBP-Vitaly:dock dyatlov$ curl
curl: (7) Failed to connect to port 3000: Connection refused

Im running latest virtual box and latest boot2docker (installed just 2day)
any idea how to solve this without virtual box cli and port forwarding?

dyatlov commented Jan 3, 2015

to add, I tried to use it as described here:
but it seems that behavior changed since then?

dyatlov commented Jan 4, 2015

rails was listening to localhost, solved this by adding -b to the start command: bundle exec rails s -b
now all is working. Sorry for false alarm

@dyatlov dyatlov closed this Jan 4, 2015
arun057 commented Jan 12, 2015

Whoa this needs more attention! Thanks for digging @dyatlov


@dyatlov thanks so much. I feel silly for not thinking of that earlier :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment