☰
Gitea局域网服务器Local: No connection could be made because the target machine actively refused it.
2026/10/15 1:59:08 网站建设 项目流程

现象:

使用Gitea 当git仓库管理

A电脑当服务器,B电脑推送,有lfs大文件

A电脑可以自己推送。

B电脑推送失败:

提示

git.exe push --progress -- "192" master:master
warning: use of unencrypted HTTP remote URLs is not recommended; see https://aka.ms/gcm/unsaferemotes for more information.
Locking support detected on remote "192". Consider enabling it with:
$ git config lfs.http://192.168.31.100:3000/Streamlab/XingJiKongLong.git/info/lfs.locksverify true
Uploading LFS objects: 0% (0/527), 0 B | 0 B/s, done.
LFS: Put "http://localhost:3000/Streamlab/XingJiKongLong.git/info/lfs/objects/855e05c72da761ccd2bfb2ec8e77599677d327d627ee51c0bf6a818ce958b7f1/5021936": dial tcp [::1]:3000: connectex: No connection could be made because the target machine actively refused it.
LFS: Put "http://localhost:3000/Streamlab/XingJiKongLong.git/info/lfs/objects/d93abdfaed2853de293871121ac6cfbc8f9598e6d82468dd07b23d428f958435/2557216": dial tcp [::1]:3000: connectex: No connection could be made because the target machine actively refused it.

分析:

好像普通文件推上去了,lfs推送失败。

原因:

解决办法:

修改配置文件

todo 催更就写

一键三联

点赞·留言·收藏

如果可以帮到你,好用的话,记得一键三连。

毕竟博主写文章是靠爱发电,所以爱会消失对不对。

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询