Membase on Windows 7 – IP Address Fix!
Membase is truly an awesome piece of software – a really cool noSQL solution, if you’re looking for one.
Where it really shines (for me, anyhow), is that it’s the easiest way to install Memcache on Windows 7. Membase’s programming interface is the same as Memcache’s, and indeed it’ll even function directly as a Memcache server with no DB backup.
However, I kept running into one awkward problem – it bound itself to my external IP, and as soon as I swapped my laptop to another network where I was assigned a different IP address, it stopped working.
Thankfully, after copious Googling, I found the answer. Reproduced here, just in case the other link dies:
service_stop.bat service_unregister.bat service_register.bat firstname.lastname@example.org service_start.bat
Now Membase is bound to the loopback IP address and it doesn’t matter what network you’re on – it just works!