Kaushik
Kaushik

Reputation: 99

Is there any way to host my local host Jenkins to a Public IP

I am a newbie learning jenkins. Currently learning the scenario of github webhooks integration to trigger a build upon every git events. I understand that the webhooks does not support private IP or LocalHost of jenkins. To Achieve this, we need a public IP.

I tried using ngrok and other similar which is a proxy that expose localhost to public URL. The problem here is, when i input the ngrok jenkins url to webhook it has more connections which the ngrok restricts and asking to have premium membership to achieve this.

I would be great is someone help in giving me a reference on how to host my local host to a free server so that i can have a public ip.

Upvotes: 1

Views: 2788

Answers (1)

Seth P
Seth P

Reputation: 80

Yes, you can! GitHub Webhook documentation explains it. Essentially, you'd use ngrok to ssh ur localhost into a unique ngrok publicly accessible link.

TLDR; Take a look at this

Upvotes: 2

Related Questions