skip to Main Content

Cant access redis from fastapi api when they are in a same cluster, same pod, using a single node cluster via docker desktop

2023-01-07 21:05:14 File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi 2023-01-07 21:05:14 result = await app( # type: ignore[func-returns-value] 2023-01-07 21:05:14 File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__ 2023-01-07 21:05:14 return await self.app(scope, receive, send) 2023-01-07 21:05:14 File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 270, in __call__…

VIEW QUESTION

Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6379 – Docker

I just migrated from Spring boot 2 to Spring boot 3. When I run the project I get the error | Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6379 | Caused by: java.net.ConnectException: Connection refused | at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na] | at…

VIEW QUESTION
Back To Top
Search