Configure Jenkins CI in GitLab

I am trying to setup Jenkins with GitLab by following the Jenkins help document(https://docs.gitlab.com/ee/integration/jenkins.html). I am planning to have a local server running Jenkins which will build and test my .NET projects.

My question is if the Jenkins is running in a local server which URL should I provide while configuring the Jenkins CI in GitLab. If I provide http://localhost:8080 it is surely not going to work I guess.

Please help me with the configuration. Thanks in advance.

Thanks and Regards,
Subith