jdtexas wrote:I checked to see if the 127.0.0.1 address was listed as a proxy. It was. I deleted it
So if you used your own host as a proxy so maybe you also used some sort of proxy process somewhere somehow in the past? e.g. 'squid' or something like that?
As I see it your problem is this:
For reasons you did not state yet you configured your own machine as proxy and you had it running on port 4001; hence all the package managers accessed their repos via this host:port combination. But now: Somehow you stopped the proxy from working, e.g. either by reconfiguring it or by removing it from your system. But your package managers are still pointing at the --now defunct-- proxy, hence you get this error message: "Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused)"
So as I see it you have to completely remove any remaining references to the proxy and access the repos (and everything else?) directly. Then it should work.