New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dyatlov opened this Issue Jan 3, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@dyatlov

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 0.0.0.0:49157->5
entrypoint.sh 432/tcp
postgres
dock_web_1 bundle exec Up 0.0.0.0:3000->30
rackup -p 3000 00/tcp
MBP-Vitaly:dock dyatlov$ boot2docker ip
192.168.59.103
MBP-Vitaly:dock dyatlov$ fig port web 3000
0.0.0.0:3000
MBP-Vitaly:dock dyatlov$ curl 192.168.59.103:3000
curl: (7) Failed to connect to 192.168.59.103 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

This comment has been minimized.

Show comment
Hide comment
@dyatlov

dyatlov Jan 3, 2015

to add, I tried to use it as described here: http://viget.com/extend/how-to-use-docker-on-os-x-the-missing-guide
but it seems that behavior changed since then?

dyatlov commented Jan 3, 2015

to add, I tried to use it as described here: http://viget.com/extend/how-to-use-docker-on-os-x-the-missing-guide
but it seems that behavior changed since then?

@dyatlov

This comment has been minimized.

Show comment
Hide comment
@dyatlov

dyatlov Jan 4, 2015

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

dyatlov commented Jan 4, 2015

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

@dyatlov dyatlov closed this Jan 4, 2015

@arun057

This comment has been minimized.

Show comment
Hide comment
@arun057

arun057 Jan 12, 2015

Whoa this needs more attention! Thanks for digging @dyatlov

arun057 commented Jan 12, 2015

Whoa this needs more attention! Thanks for digging @dyatlov

@williscool

This comment has been minimized.

Show comment
Hide comment
@williscool

williscool Sep 16, 2015

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

williscool commented Sep 16, 2015

@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