Wednesday, December 23, 2020

Re: How can I host my django project on my pc for someone to see it outside my WIFI network

If you're looking for a tool to allow anyone to see your project running on localhost. There's a cool tool called Ngrok Which exposes your localhost to  be public with a secure tunnel.Check it out. 
https://ngrok.com/ 


On Wed, Dec 23, 2020 at 11:36 PM Benny M <chibenny@outlook.com> wrote:
I'm going to second Kasper on this. There's enough affordable options out there that self hosting to a "safe enough" degree would be the more expensive route to go.

I did this myself for a little while - had a makeshift cloud service for myself right up until I had a dev-ops friend take a look. His little giggles and eye-rolls were enough to convince me that I was wholly out of my league.

It's a fun idea, but if you're going to do it right, it's not going to be cheap and it's still not going to be secure enough to keep your network from being compromised.

> On Dec 23, 2020, at 3:02 PM, Kasper Laudrup <laudrup@stacktrace.dk> wrote:
>
> On 23/12/2020 18.46, joseenoc...@gmail.com wrote:
>> Can some one pls explain what steps show I follow to host my django project on my pc and allow anyone outside my network WIFI to see the webiste
>>
>
> You don't want to do that, but just in case:
>
> You probably want to ensure that you have a static IP from your internet provider. If you don't have that or for some reason cannot get one, consider looking into dynamic DNS so you have a well known DNS name when your public IP address changes.
>
> Configure your router to forward requests on the port where your Django website is running to the IP of your PC.
>
> But you seriously don't want to do that. Look into how to deploy your website instead.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/90d7384c-e6ea-4485-60da-3a57c0cd3707%40stacktrace.dk.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CH2PR14MB3913826C4668B8F16D33278AC0DE0%40CH2PR14MB3913.namprd14.prod.outlook.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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJPiQORoYwRcyKhJYxBa4j%3DxKsuT0snjHCe%2B0mVNoEogeejadw%40mail.gmail.com.

No comments:

Post a Comment