What is the difference between the network settings of ss,mac and windows used by python crawlers?

import requests
url = "http://www.httpbin.org/ip"
proxies_me = {
    "http":"http://127.0.0.1:1080",
    "https":"https://127.0.0.1:1080"
}
response = requests.get(url, proxies=proxies_me)
print(response.text)

the same code can run smoothly when a small plane is turned on on windows. But mac flew a small plane and reported an error over time. Why?
the software on both sides uses port 1080. Is there anything else that needs to be set up for mac?

Oct.19,2021

ss sets up a proxy server locally, and requests can set up the proxy. The address can be seen in the ss setting, 127that.

Menu