Reputation: 9
I started Django development server from Windows 7 command line at http://0.0.0.0:8000 and the message was OK. But when I entered the address into my browser it returned ERR_ADDRESS_INVALID. What might be the problem? Update: this time I ran the server at http://127.0.0.1:8000 which is a default anyway and it gave me a whole lot of messages the last being 'UnicodeDecodeError: "utf-8" cant decode byte 0xcf in position 2: invalid continuation line'. I opened the file of the error but search found no such byte in there. Now I am stuck. Any suggestions so far?
Upvotes: 0
Views: 1051
Reputation: 11420
I think, IP address 0.0.0.0 is a special address, which means default route, when used in terms of networking. I think you must use localhost or 127.0.0.1 instead. Just type route print command in your command prompt, it'll show you the routing table, where 0.0.0.0 will be present, which specifies default route.
Upvotes: 3