I am trying to connect to my couchbase database. I connect to my couchbase server on browser successfully like this : X.X.X.X:8091 But when I want to connect to that using python script I get this error :
SystemError: <method '_connect' of 'Client' objects> returned a result with an error set
and this is my python script
from couchbase.cluster import Cluster, ClusterOptions
from couchbase.auth import PasswordAuthenticator
cluster = Cluster('couchbase://X.X.X.X', ClusterOptions(PasswordAuthenticator('Administrator', '12345678')))
print(cluster)