Add localhost possibility and configuration