Django's runserver 0.0.0.0 8000 cannot listen to the port immediately

the latest installation of system centos7,
django < 2 versions
it takes more than 20 seconds to accept the request when using python runserver 0.0.0.0 python runserver 8000. Before that, there is no bind system port, and so is netstat check.
it is strange that this is only true on the virtual machine installed on the company"s office computer vmware. It is not repeated in my home computer, as well as in other environments such as Aliyun.
when you specify a specific ip, such as runserver 192.168.x.x:8000, after the command line enters and waits, you can immediately access
and reinstall the system several times can be reinstalled, and the steps are the same. However, it cannot reproduce
using other listening ports to test, and can listen to the system port normally

Jul.22,2021
The

hosts file adds the mapping between the local hostname and ip, which is an interface for runserver to call socketserver and will get fqdn. Then very slow, very slow
Why the same installation is different, so I am not in the mood to look for

Menu