Localtunnel with my Django Project

461 views
Skip to first unread message

yingi keme

unread,
Oct 29, 2017, 5:39:05 PM10/29/17
to Django users
Hello

I need to test a service that uses Webhooks - HTTP callbacks.

I want to use localtunnel to open my localhost to the internet. However i dont know how to integrate it with my django project. I also dont know how to set up the url patterns if i am to use localtunnel.

Any help please...!!!

shreekant bohra

unread,
Oct 29, 2017, 9:05:11 PM10/29/17
to django...@googlegroups.com
Hi

You don't need to integrate localtunnel with django. Open django test server in one terminal and issue localtunnel command in another -

lt --port 8000
Above command will expose port number 8000 on internet, which is the port of your django test server and you can test as required.

--
Shree Kant Bohra
Co-founder
Geekybuddha Technologies





--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ad8fdd20-95f3-4868-a17f-580dd54a800d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

yingi keme

unread,
Oct 30, 2017, 2:51:16 AM10/30/17
to django...@googlegroups.com
Thanks alot

I did it and it worked, added the address to ALLOWED_HOSTS in my settings.py

Thanks once again

Yingi Kem
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Vincent

unread,
Jul 31, 2019, 7:20:35 AM7/31/19
to Django users
Hello, how did you do it please help?


On Monday, October 30, 2017 at 9:51:16 AM UTC+3, yingi keme wrote:
Thanks alot

I did it and it worked, added the address to ALLOWED_HOSTS in my settings.py

Thanks once again

Yingi Kem

On 30 Oct 2017, at 2:02 AM, shreekant bohra <skboh...@gmail.com> wrote:

Hi

You don't need to integrate localtunnel with django. Open django test server in one terminal and issue localtunnel command in another -

lt --port 8000
Above command will expose port number 8000 on internet, which is the port of your django test server and you can test as required.

--
Shree Kant Bohra
Co-founder
Geekybuddha Technologies




On Mon, Oct 30, 2017 at 3:09 AM, yingi keme <ying...@gmail.com> wrote:
Hello

I need to test a service that uses Webhooks - HTTP callbacks.

I want to use localtunnel to open my localhost to the internet. However i dont know how to integrate it with my django project. I also dont know how to set up the url patterns if i am to use localtunnel.

Any help please...!!!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages