﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15219	'runserver' no longer accepts hostname for address:port pair arguments	andrewl	nobody	"runserver used to accept a hostname as the 'address' argument for the address:port pair. For example:

{{{
  python manage.py runserver myhostname:8765
}}}

However this now fails with the following error message:

{{{
  Error: 'myhostname:8765' is not a valid port numberor address:port pair.
}}}

...which, incidentally, is missing a space between 'number' and 'or' (see lines 46-47 in django.core.management.commands.runserver.py).

Obviously dummy host:port values are used in the example above, but (just to clarify) the error message also occurs when real, valid host:port values are used.

The error is because of the naiveip_re regular expression defined on line 12 of django.core.management.commands.runserver.py, which is used to validate the 'address' portion of the arguments, which will only accept IPv4/v6 addresses, not hostnames (which, admittedly, may be the desired behaviour...?)."		closed	django-admin.py runserver	1.2		duplicate			Unreviewed	0	0	0	0	0	0
