'Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) for web3

https://github.com/smartcontractkit/full-blockchain-solidity-course-py/discussions/1169 i have posted my question in the GitHub discussion because it is a little long. please respond and help me. the error is ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

I am using VS code and trying to figure out the error, but am unable to.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source