Error: Invalid OAuth2 redirect_uri

Found any fix? I also encountered this problem. I think it comes from this part in the url:
&response_type=code&redirect_uri=http%3A%2F%2F0.0.0.0%3A1337%2Fapi%2Fconnect%2Fdiscord%2Fcallback&scope=identify%20email.

0.0.0.0:1337 surely isn’t a valid uri but I dont know where does it come from and how to change it