FAQ
I have a dockerized Go program that looks for a Redis server on the default
port 6379. I started the official Redis container, ran my Go container but
the client can't connect to it. I then tried linking them with docker run --link
redis:redis [APP_CONTAINER_NAME] and I get the same "connection refused"
error.

The Redis container seems to work because I can use redis-cli tu ping it.

What can I do to link the two containers?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Kevin Malachowski at Apr 16, 2015 at 5:50 pm
    What are the full command lines you use to start both containers? Did you
    try --publish on your Redis server?
    On Thursday, April 16, 2015 at 10:40:22 AM UTC-7, Rayland wrote:

    I have a dockerized Go program that looks for a Redis server on the
    default port 6379. I started the official Redis container, ran my Go
    container but the client can't connect to it. I then tried linking them
    with docker run --link redis:redis [APP_CONTAINER_NAME] and I get the
    same "connection refused" error.

    The Redis container seems to work because I can use redis-cli tu ping it.

    What can I do to link the two containers?
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 16, '15 at 5:40p
activeApr 16, '15 at 5:50p
posts2
users2
websitegolang.org

2 users in discussion

Rayland: 1 post Kevin Malachowski: 1 post

People

Translate

site design / logo © 2022 Grokbase