If I try to connect me to the given url ['192.168.24.2:11211'] by using a tiny script the connection was establish and I can set and get values.
#!/usr/bin/python3 import memcache
def main(): mc = memcache.Client(['192.168.24.2:11211'], debug=0)
mc.set("some_key", "Some value") value = mc.get("some_key") print(value)
if __name__ == "__main__": main()
If I try to connect me to the given url ['192.168. 24.2:11211' ] by using a tiny script the connection was establish and I can set and get values.
#!/usr/bin/python3
import memcache
def main(): Client( ['192.168. 24.2:11211' ], debug=0)
mc = memcache.
mc. set("some_ key", "Some value")
value = mc.get("some_key")
print(value)
if __name__ == "__main__":
main()