Thanks again everyone

The solution was a quick adjustment in memcached.conf.

Changing
-l 127.0.0.1
to
-l 0.0.0.0

Matt

On Dec 5 2011, 1:27 pm, mattym <slackbabb...@gmail.com> wrote:
> 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 checkmemcachedconfiguration (/etc/memcached.conf)
> > from this file,you can limit IP addresses thatmemcachedlistening 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 thatmemcached
> > 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 withmemcachedworks when I reference
> > > the local box holding Django. But when I point my setting to aremote
> > > box it does not cache:
>
> > > This is with Django 1.3 using python-memcachedon 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',]  # Thisremoteone 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 thatmemcachedis running on theremotebox. 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.

Reply via email to