Revert "minor: use INADDR_LOOPBACK instead of INADDR_ANY"

This reverts commit 3f21cf6d2c892aedcf43f409b30f2f5a85c67775.