why I keep getting 10061 error, socket programming?

so I have just started learning network programming and I don't understand why does a connection between the client and the server is constantly denied.

import socket
my_socket = socket.socket()
my_socket.connect(("", 8820))

that is the error I get:

ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

Python 05-05-22, 6:49 p.m. ramakrishnahkr
I have seen some great stuff here. Worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. Your work is truly appreciated around the clock and the globe. Ethereum NFT
22-05-22, 3:47 p.m. browning

Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. laundry chute parts
12-06-22, 1:26 p.m. browning

Log-in to answer to this question.