Google Oauth Not Match

I install the gitlab and want to open google oauth funchtion.
In accordance with the document settings, open the function after the error message.

Error: redirect_uri_mismatch .

And found I setting url is but send url is .
How can I do let url can have port number.

Thank you.