I have one Ubuntu Based memcache server.
Now i want my new server to use old server’s memcache.
What i tried ?
Opening tcp port in my firewall 11211
But still i am unable to use it.
In /etc/memcached.conf:
# 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
I have changed 127.0.0.1 to 0.0.0.0/0
Sudo Ip Tablet output
[sudo] password for azureuser:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:bootpc
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I interpret your question as you wanting your localhost to use another machines memcached instance.
If this is indeed the case then you should just have to replace the
127.0.0.1with the other machines IP, e.g.192.168.1.111