Fail to push git lfs to my personal host gitlab

Fail to push git lfs to my personal host Gitlab


Unable to push git lfs to my GitLab hosted by my personal server.

Relevant logs
# <ip> is the IP address has been replaced
git push origin master
Uploading LFS objects:   0% (0/100), 0 B | 0 B/s, done.
batch response: Post "<ip>/git/Delta.git/info/lfs/objects/batch": dial tcp <ip>:443: connectex: No connection could be made because the target machine actively refused it.
error: failed to push some refs to '<ip>:gitlab/delta.git'

LFS has to be set enabled in Gitlab.
Git LFS has been correctly installed:

# client side
git-lfs version
git-lfs/3.3.0 (GitHub; windows amd64; go 1.19.3; git 77deabdf)

# server side
git-lfs version
git-lfs/2.9.2 (GitHub; linux amd64; go 1.13.5)

# Gitlab version 15.9

git push did not include lfs content that can be successfully pushed.

I have struggled for several days and still can’t solve this problem.

As the error states, your client is unable to talk to the server via port 443 (https). I would assume that this is not a git LFS issue, but rather a firewall / reverse proxy setup issue.