bind stat socket on localhost by default