Intro
Today I tried pushing via Git and got: fatal: unable to access 'https://github.com/yexca-VRChat/yexca-VRChat.github.io.git/': Failed to connect to 127.0.0.1 port 1081 after 2074 ms: Connection refused. Even a reboot didn’t help, so it was time to find a fix (why won’t it let me access my own repo?).
Troubleshooting
Research suggested it was proxy-related, but my proxy is configured on the router.
I connected to a different standard router and tried pushing again, but the issue persisted.
Next, I tried unsetting the Git proxy configuration, which also did nothing:
| |
Finally, I remembered I might have messed with WinXray. I checked, and sure enough, PAC mode was active. After turning it off, the push worked perfectly.
References
Fixing Git download error: Failed to connect to 127.0.0.1 port 1080: Connection refused - CSDN Blog