Cloning from Google Cloud Platform

I installed gitlab following this tutorial. Now i’m trying to clone a project and getting the following error:

port 22: Connection refused
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

How can I fix this?


I think I found the problem and it has nothing to do with gitlab.

I have my gitlab vm hosted on google cloud. I also have a domain name “git.MYDOMAIN.WEBSITE” (registered with godaddy) that I’m trying to use for this gitlab vm. Alas, I’m very new at this so I did things in a way that does not really work.

I basically told my Synology to redirect traffic from http://git.MYDOMAIN.WEBSITE to http://IPADDRESS_FROM_GOOGLE_CLOUD. That works to loggin into gitlab with the webinterface but not for clonning repos.

Is there any guide that shows how to do this the right way?

Thanks again