brew Installation failed


(Fulinqian) #1

==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew…
fatal: unable to access ‘https://github.com/Homebrew/brew/’: Failed to connect to 127.0.0.1 port 1080: Connection refused
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force


(Sean Molenaar) #2

for some reason your PC tries to connect to itself when it tries to resolve github.com. This is likely a DNS or proxy issue, which unfortunately is very hard to solve for a stranger on the internet. I think you’ll have to figure this one out for yourself.