coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
33.66k stars 1.83k forks source link

[Bug]: ssh: connect to host host.docker.internal port 22 #3267

Open daraeowl opened 2 months ago

daraeowl commented 2 months ago

Description

Hello, I'm trying to solve this error on the Servers part of the web/ui image

I keep getting this error image

my ufw status shows port 22/tcp enabled with all of the requiered ports for coolify

Minimal Reproduction (if possible, example repository)

curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash

Exception or Error

Server is not reachable.

Please validate your configuration and connection.

Check this documentation for further help.

Error: ssh: connect to host host.docker.internal port 22: Connection refused

Version

v4.0.0-beta.323

Cloud?

fanpero87 commented 2 months ago

I had the same problem. Used UFW to allow SSH over my VPN IP. I fix it like this:

After that, I was able to connect to the GUI and it connected to Localhost.