Gitlab webhook integration with jenkins

i have an on premise gitlab ce instance.I want to integrate with webhook so that i can trigger the pipileine project in jenkins,but while adding webhooksin gitlab,gitlab is showing “Url is blocked: Requests to the local network are not allowed”

The jenkisn project url is a public url and has a token for that.Any ideas to resolve?