Fixed hardcoded localhost reference