docker - Error :Could not connect to Redis at redis:6379: Name or service not known -


i trying execute container named redis running right now.but error could not connect redis @ redis:6379: name or service not known. 1 please hell me figure out issue , fix it.

naming container doesn't alter hosts file or dns, , depending on how ran container may not accessible via standard port docker port translation.

run docker inspect redis , examine ports output, tell port accessible on ip. note, however, connectable on ip host. access off of host need use port above command , host's ip address. assumes local firewall rules allow it, beyond scope of site.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -