Candy machine creating error

Error running command (re-run needed): Failed to deploy all config lines, 32 error(s) occurred:
=> Transaction error: error sending request for url (https://api.mainnet-beta.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)

Caused by:
0: error sending request for com error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
1: error sending request for url (https://api.mainnet-beta.solana.com/): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
2: error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
3: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
4: No connection could be made because the target machine actively refused it. (os error 10061)