My customers are running many scripts that uses memcached, but all of them are using localhost as a address. My localhost server is now out of RAM, because it's doing many other things like WWW and MySQL servers.
Now I got a brand new server with 16 GB RAM which I can use as a dedicated memcached server. How to redirect localhost:12111 to domain.com:12111 server ?
I can't switch localhost to something else in /etc/hosts because all my databases use such address.