I cannot SSH into my RPI using Pi-Hole

The issue I am facing:
I cannot SSH into my Raspberry Pi 4 Model B+ that is using a Pi-Hole several days ago I can perfectly SSH into it, I have it configured raspi-config SSH enabled.
I tried to ping it


finally traceroute it but I don't have docker installed in there, why is this happening?

is this my PC docker?
Details about my system:
Debian GBU/Linux 11 (bullseye) aarch64
What I have changed since installing Pi-hole:
Nothing I can SSH yesterday but today I cannot.

The SSH process is an OS level function. I recommend you visit the forums for your OS.

I think you misunderstood the command output.

The "Destination host unreachable" message means your PC was not able to connect to 192.168.0.178.

The name host.docker.internal was locally answered by Windows (not by your unreachable Raspberry Pi).

host.docker.internal is a special DNS name used by Docker. This name resolves to the internal IP address used by the host machine (Probably your Docker Desktop for Windows).

More details:

So should I uninstall docker? I already disabled it on startup and it's service is not running etc. What are my best solution so I can SSH again? I can SSH before I don't know why is this acting up again all of the sudden... I can also ping the router and other devices!

So should I uninstall docker?

No. I have no idea why host.docker.internal appears on your tracert, but Docker has nothing to do with your issue.

The problem is your windows machine can't reach your Raspberry Pi (192.168.0.178).

Did you try to ping 192.168.0.178 from other devices? Does it connect?
Are you sure your Raspberry Pi is connect to the network and running?
Did you try to connect a keyboard and a monitor to access your Pi directly, instead of using SSH?

As already said by jfb, this is an Operating System issue.

Possible avenue of exploration in this reddit docker post @michaelinzo

Check all your addresses, ranges and so on and @rdwebdesign's advice. Once you've fixed it your Pi-hole should be reachable again.

Pi-hole is not involved here - you are using IP addresses directly.

The machine you ran your ssh and ping from either has no route to your RPi at 192.168.0.178, or that RPi is down or disconnected.

The latter could occur if you'd have connected your RPi via wifi:
The OS may switch off your RPi's wifi network interface upon entering a power saving state.
But that's just a guess.

jfb is right - as this is not a Pi-hole issue, you should consider consulting forums specialising in those kind of issues for your specific OS.

Yeah I can ping Raspberry pi with the router and yes it is running I have a huge monitor it uses, pi-hole status all checked too. My PC OS or RPI OS is the problem?

Yeah, sorry guys I found out the problem it seems to be my PC only since I can SSH from my phone etc. and ping/traceroute from the router too. Thank you guys for your help I'll probably uninstall docker since I'm not using it anymore also I forgot to say I have portmasters this one probably cause the problem too since I can SSH in VM instance in Europe I'm not living in Europe.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.