Karthik
Karthik

Reputation: 676

How do you host Django's dev server on an external IP?

Basically, my internal IP is masked by an external IP of my internet service provider. So, my internal IP can only be accessed inside my intranet. I want to let users outside the intranet to access my Dev server as well which is hosted on 0.0.0.0:8000 on my system. How do I do that?

Upvotes: 2

Views: 436

Answers (2)

Smerk
Smerk

Reputation: 655

Check out localtunnel on github, it does exactly what you're asking.

https://github.com/progrium/localtunnel

Upvotes: 2

Variant
Variant

Reputation: 17385

If you are willing to go that far you can use Reverse SSH Tunnel:
open a free micro linux instance on Amazon's AWS and create a reverse SSH tunnel to redirect port 80 on the server to your machine.

This is a cool solution for testing purposes and low traffic usage...

You can read more about it here:
http://www.techrepublic.com/article/setting-up-a-reverse-ssh-tunnel/5779944

Upvotes: 1

Related Questions