Localhost:443 - dial tcp connect: connection refused

Today I deployed gitea via docker-compose, no matter what hostname I use when I try to got clone the remote repo on my laptop or desktop for whatever reason it is trying to connect to local host rather than remote one. Did anyone see this before?

 % git clone git@gitea.hostname.org:user/repo.git
Cloning into 'repo'...
The authenticity of host '[gitea.hostname.org]:222' can't be established.
ECDSA key fingerprint is SHA256:ZSs1GndW/oe9u625a37nWNMDu7M/NwJKjuhtp2PEmTs.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[gitea.hostname.org]:222' (ECDSA) to the list of known hosts.
Enter passphrase for key '/Users/user/.ssh/id_rsa':
Gitea: Internal Server Error
Get "http://localhost:443/api/internal/serv/command/1/user/repo?mode=1&verb=git-upload-pack": dial tcp connect: connection refused
fatal: Could not read from remote repository.