Newbie question, start server with hostname

22 views
Skip to first unread message

hippohippo

unread,
Feb 8, 2017, 5:32:40 PM2/8/17
to Django users
Dear all,

I am a new comer on Django. I was able to to run start server by command as below yesterday.

python manage.py runserver http:/hostname:8000 

However today, it submit the error as CommandError: "http://te172.24.221.137:8000/" is not a valid port number or address:port pair.

Can anyone give me some hint how to fix this? Thanks.


Dylan Reinhold

unread,
Feb 8, 2017, 5:37:15 PM2/8/17
to django...@googlegroups.com
You don't include the http://
python manage.py runserver hostname:8000 or put the IP address in the hostname area/

Dylan

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c029b611-898b-4015-b643-e1eaabaa43cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages