Django runserver does not work

1

The command: python manage.py runserver 80

Returns the following: (Pus screenshot, because the text is defaced here)

The localhost address is inaccessible regardless of port (8080, 8000, 80)

As far as I understand, it's a charset / encode error, but I can not find a solution for it.

    
asked by anonymous 15.07.2017 / 18:10

1 answer

1

It seems to be a known python bug , in which the runserver fails when the machine name contains non-ASCII characters ", try one of two alternatives:

1) Call runserver by specifying port and host:

python manage.py runserver 127.0.0.1:8000

Or:

2) Rename the computer to a string that contains only     ASCII characters.

    
15.07.2017 / 18:31