Yan L.
2018-11-08 17:50:01 UTC
hello,
I am running a simple web application (python+django) on the vm (ubuntu 64
bit).
After I run python manage.py runserver, it seems running well.
See the record below:
~~~~~~~~~~~~~~
Performing system checks...
System check identified no issues (0 silenced).
You have 13 unapplied migration(s). Your project may not work properly
until you apply the migrations for app(s): admin, auth, contenttypes,
sessions.
Run 'python manage.py migrate' to apply them.
November 08, 2018 - 12:40:56
Django version 1.11.16, using settings 'helloapp.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
~~~~~~~~~~~~~~~~~~~
On the vm itself, I am able to run the curl command and get a response.
***@precise64:~$ curl -i http://127.0.0.1:8000
HTTP/1.0 200 OK
Date: Thu, 08 Nov 2018 17:41:20 GMT
Server: WSGIServer/0.1 Python/2.7.3
X-Frame-Options: SAMEORIGIN
Content-Type: text/html
Content-Length: 1716
Once I get on my local machine, and type http://127.0.0.1:8000 in the
browser, it shows as below. The same way when I type
http://{vm's ip Addr}:8000
This page isnât working
*127.0.0.1* didnât send any data.
ERR_EMPTY_RESPONSE
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/ce842b5d-071b-4c2f-8dd2-7486cd1b5f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am running a simple web application (python+django) on the vm (ubuntu 64
bit).
After I run python manage.py runserver, it seems running well.
See the record below:
~~~~~~~~~~~~~~
Performing system checks...
System check identified no issues (0 silenced).
You have 13 unapplied migration(s). Your project may not work properly
until you apply the migrations for app(s): admin, auth, contenttypes,
sessions.
Run 'python manage.py migrate' to apply them.
November 08, 2018 - 12:40:56
Django version 1.11.16, using settings 'helloapp.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
~~~~~~~~~~~~~~~~~~~
On the vm itself, I am able to run the curl command and get a response.
***@precise64:~$ curl -i http://127.0.0.1:8000
HTTP/1.0 200 OK
Date: Thu, 08 Nov 2018 17:41:20 GMT
Server: WSGIServer/0.1 Python/2.7.3
X-Frame-Options: SAMEORIGIN
Content-Type: text/html
Content-Length: 1716
Once I get on my local machine, and type http://127.0.0.1:8000 in the
browser, it shows as below. The same way when I type
http://{vm's ip Addr}:8000
This page isnât working
*127.0.0.1* didnât send any data.
ERR_EMPTY_RESPONSE
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/ce842b5d-071b-4c2f-8dd2-7486cd1b5f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.