Open amit-mn opened 6 years ago
At first, I don't recommend using memcached.connect
. It's a private method not public API. Second, if you provide a dummy IP, which can't be validated, it will use the default IP (localhost:11211). So try to use a normal IP.
Memcache not connecting to IP which is provided to connection string like below:
When I provide above IP (dummy IP : 12.34.567.890) or any other in connection string then It try to connect only to 127.0.0.1 IP. That's why it is not connecting to particular IP.
For this I have to set the desired IP in it's library file :
And I think it is not a good idea. Because I want dynamic connections in my project to connect different-2 memcached servers. So it is not possible to change the above setting every time.
Is there a way to resolve this issue?