Re: Reach the server

2019-07-16 Thread mohammed habib
On 16 Jul 2019, at 23:41, CHENXIN YANG wrote: > > Thanks for the help! > After running the command Python manage.py runserver 0.0.0.0:8000, I still > couldn't reach the server. And could you tell me more details about how to > make sure that my port 8000 from the guest virtu

Re: Reach the server

2019-07-16 Thread CHENXIN YANG
Thanks for the help! After running the command Python manage.py runserver 0.0.0.0:8000, I still couldn't reach the server. And could you tell me more details about how to make sure that my port 8000 from the guest virtualbox maps to port 8000 on the host virtualbox? On Tue, Jul 16, 2019

Re: Reach the server

2019-07-16 Thread mohammed habib
You also need to make sure that your port 8000 from the guest virtualbox maps to port 8000 on your host virtualbox Sent from my iPhone > On 15 Jul 2019, at 23:34, CHENXIN YANG wrote: > > I created the new Django project on a vagrant virtual box, but I had trouble > reaching the server at http

Re: Reach the server

2019-07-16 Thread mohammed habib
To expose your server to external hosts try running: Python manage.py runserver 0.0.0.0:8000 Sent from my iPhone > On 15 Jul 2019, at 23:34, CHENXIN YANG wrote: > > I created the new Django project on a vagrant virtual box, but I had trouble > reaching the server at http://127.0.0.1:8000/ aft

Re: Reach the server

2019-07-16 Thread Jani Tiainen
Hi. Did you mapped 8000 port to outside of vagrant box? And did you told runserver to listen all interfaces (0.0.0.0) since by default runserver listens to localhost. In case of vagrant "localhost" interface is within vagrant box itself. ti 16. heinäk. 2019 klo 5.22 CHENXIN YANG kirjoitti: > I

Reach the server

2019-07-15 Thread CHENXIN YANG
I created the new Django project on a vagrant virtual box, but I had trouble reaching the server at http://127.0.0.1:8000/ after running the server. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv