I'm just a user, but I think you should have access. When I SSH to my flexible environment machine, I've run the following command to check that this works:
$ printf "get mykey\r\n" |nc -v 172.17.0.3 11211 172.17.0.3: inverse host lookup failed: Unknown host (UNKNOWN) [172.17.0.3] 11211 (?) open END (the END) part is the reply back from the server saying the key is not found. I ran the same command inside the docker container with my application and it also works. So .... I think the value you are getting should work? (I'm pretty sure memcache is working with our Python app, but that uses the python-compat APIs, so I'm not 100% sure if that connects to the same address/port or not). On Thursday, April 21, 2016 at 5:48:35 AM UTC-4, Alejandro Recarey wrote: > > Hi all, > > I have started using App Engine and am super happy with the docs and > examples. Kudos! > > However, I'm stumbling upon an issue with trying to use the memcache > service. I don't even know if it should work for the flexible environment. > I'm using the environment variables: > MEMCACHE_PORT_11211_TCP_ADDR > > and: > MEMCACHE_PORT_11211_TCP_PORT > > , and by logging I'm seeing that they are actually being set in > production, so I assume I should have access. > > Howeve once in production I'm seeing this error: > > Error: Server at 172.17.0.3:11211 not available > > So they are being set (my defaults are "localhost" and "11211"), it just > seems I don't have access. > > Should the flexible App Engine environment have access to the Memcached > pool? Or do I have to spin up my own servers? > > Thanks! > > Alex > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/8f01896a-15cf-4256-ad43-cbb8e8543879%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
