Are you set "ALLOWED_HOSTS" in settings.py for "172.21.48.1" ?
ในวันที่ วันพุธที่ 31 พฤษภาคม ค.ศ. 2023 เวลา 14 นาฬิกา 38 นาที 48 วินาที
UTC+7 Robbi Nespu เขียนว่า:
>
> Hello,
> I am using windows machine to develop django project but now i want to
> make my program run on WSL and keep the DB a
Hello,
I am using windows machine to develop django project but now i want to make
my program run on WSL and keep the DB are running on host (windows
machine),
This mean the Django program inside WSL will try to connect to postgresql
on WINDOWS.
> $ cat /etc/resolv.conf | grep name
> name
2 matches
Mail list logo