When I try to connect to MongoDB, I can't connect. It says the machine on the other end refused the connection.
import pymongo
baglanti = pymongo.MongoClient("mongodb+srv://newuser:[email protected]/Denemeler?retryWrites=true&w=majority")
db = baglanti["Denemeler"]
koleksiyon = db["Borc"]
koleksiyon.insert({"kullaniciadi": kullanici_adi, "sifre": sifre_giris})What is problem? How can i solve?