Name or service not known [tcp://redis:6379] : <p>i am having a problem setting up redis cache with laravel.
i have a redis server runnig on my local machine:</p>

<p><a href="https://i.stack.imgur.com/PdbZC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PdbZC.png" alt="enter image description here"></a></p>

<p>my .env:</p>

<p><a href="https://i.stack.imgur.com/lO3hJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lO3hJ.png" alt="enter image description here"></a></p>

<p>i have the localhost on port 6379 ready and listened:</p>

<p><a href="https://i.stack.imgur.com/2h5Q0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2h5Q0.png" alt="enter image description here"></a></p>

<p>someone plz tell me what's happenig here?<a href="https://i.stack.imgur.com/Z35Tj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Z35Tj.png" alt="enter image description here"></a></p>
