How to make Django's devserver public ? Is it generally possible?

前端 未结 9 578
半阙折子戏
半阙折子戏 2020-12-08 10:03

I\'m currently trying out the Django framework and I would share/present/show some stuff I\'ve made to my workmate/friends. I work in Ubuntu under Win7 via VMware. So my wis

9条回答
  •  感情败类
    2020-12-08 10:14

    Alternatively, you can use cotunnel, Just run cotunnel in your ubuntu (in VMware) change your tunnel port in cotunnel dashboard which port you are using in local side. It gives public url and you can share the url with your friends.

    Your Django server can listen to 127.0.0.1 or 0.0.0.0 (I prefer 0.0.0.0) it does not matter for cotunnel.

提交回复
热议问题