Thanks all - I stepped away from this issue for a few days. I am confident this thread will point me in the right direction.
I did notice with nmap I am getting: PORT STATE SERVICE 11211/tcp closed unknown I will be digging into this issue again soon and this thread helps! Thanks again On Dec 3, 1:43 pm, huseyin yilmaz <yilmazhuse...@gmail.com> wrote: > Also check memcached configuration (/etc/memcached.conf) > from this file,you can limit IP addresses that memcached listening to > here is a configuration parameter that you might have > > # Specify which IP address to listen on. The default is to listen on > all IP > addresses > # This parameter is one of the only security measures that memcached > has, so make > sure > # it's listening on a firewalled > interface. > #-l 127.0.0.1 > > On Dec 2, 3:49 am, mattym <slackbabb...@gmail.com> wrote: > > > > > > > > > Hi all - > > > I am stuck on this one. Caching with memcached works when I reference > > the local box holding Django. But when I point my setting to a remote > > box it does not cache: > > > This is with Django 1.3 using python-memcached on the localbox in a > > virtualenv > > > 'default': { > > 'BACKEND': > > 'django.core.cache.backends.memcached.MemcachedCache', > > #'LOCATION': ['127.0.0.1:11211',] # This works > > 'LOCATION': ['xx.xxx.xxx.xx:11211',] # This remote one does not > > } > > > My settings file appears to have the proper middleware installed: > > > "django.middleware.gzip.GZipMiddleware", > > "django.middleware.cache.UpdateCacheMiddleware", > > "django.contrib.sessions.middleware.SessionMiddleware", > > "django.contrib.auth.middleware.AuthenticationMiddleware", > > "django.contrib.redirects.middleware.RedirectFallbackMiddleware", > > "mezzanine.core.middleware.DeviceAwareUpdateCacheMiddleware", > > "django.middleware.common.CommonMiddleware", > > "django.middleware.csrf.CsrfViewMiddleware", > > "mezzanine.core.middleware.DeviceAwareFetchFromCacheMiddleware", > > "mezzanine.core.middleware.AdminLoginInterfaceSelector", > > "django.middleware.cache.FetchFromCacheMiddleware", > > > I've checked that memcached is running on the remote box. I am > > probably overlooking something simple. > > Any help is greatly appreciated. > > > Thanks, > > Matt -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.