Connecting GitHub to Jenkins running on docker toolbox Started to learn DevOps 3 days ago, so I have a lot to learn!

I have a jenkins running on docker toolbox container and I can access it via 192.168.99.100:8080.
I configured a job and managed to use "Build Now" to get the files from my GitHub repository, the git is public.

I want my job to build automatically after a commit is made in my GitHub but it does not work.

I configured a webhook in my GitHub settings but after I commit, the "Webhooks" page display an error "Last delivery was not successful. Couldn't connect to server."
In the URL inside the webhook I configured "http://192.168.99.100:8080/jenkins-name/"
Is it wrong to use that URL? I am not sure about it.

In jenkins, I am using the GitHub plugin and I configured in "Configure System"  a GitHub Server with my credentials and the "Test connection" button was verified.
In the job, configured my GitHub repository in the "Source Code Management" section and in the "Build Triggers" section I checked "GitHub hook trigger for GITScm polling".

I read it have something with port forwarding..
Will appreciate any help!
Your configuration is wrong. Here you add http://192.168.99.100:8080/ is a local Jenkins URL. Github does not connect with the local URL. Also you give the wrong webhook-URL.

Please add your public IP of Jenkins in your webhook like http://35.24.128.75:8080/" And GitHub webhook payload url is like http://35.24.128.75:8080/github-webhook"

for Full webhook configuration please watch this video: https://www.youtube.com/watch?v=wsnq9uGAWkM&amp;t=460s