hello i’m use vmware Ubuntu create a Django project, in Ubuntu is no issue
System check identified no issues (0 silenced).
November 30, 2023 - 10:48:41
Django version 4.2.4, using settings 'dx_movie.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
and already modifly ALLOWED_HOSTS = [‘*’,] from setting.py
but in Host Machine win10 is can’t connect the web
i’m checked ufw and close ufw
try ping and telnet ubuntu ip address is ok but use browse to web site is show ERR_CONNECTION_RESET…
how to fix this issue t.t
Is this a vmware virtual machine running on the same windows host that you’re trying to use to access it?
If so, what is the address that you are using in the host to try and connect to the guest?
What is the network type configured for the guest?
yes running on the same windows host
network type set is NAT
and Thank you for your reply!
in ubuntu django web is work
win10 ping ubuntu address is work
and Microsoft Defender Firewall is trun offf already
How are you running your application? Is this a test-style environment using runserver, or are you using gunicorn or uwsgi? What is the command line you are using to run this?
Can you ssh from the host to the guest at that address?
runing my application is environment using runserver 0.0.0.0:8000
shh myname@localhost is work