Fixed localhost only support