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
Some other benefits of our matchmaking site include daily & weekly match alerts, enhanced search and single-page registration. Have special marriage / matrimony ... https://www.matchfinder.in
Oops! Looks like spam! Waiting for moderator approval.
18-05-22, 7:26 p.m. kodevi4853

Login to add comment
Oops! Looks like spam! Waiting for moderator approval

Log-in to answer to this question.