Answer the question
In order to leave comments, you need to log in
How to run django in virtual machine?
Hello! I use ubuntu in a virtual machine and run the django framework on it. After starting the server even, the site is available at 127.0.0.1:8000
If you follow the link on the virtual machine, then everything works correctly. If you follow the link on the host operating system (I have windows 10), it says that the site is not available
Port forwarding rules are configured as follows:
If you connect via putty via ssh, then everything works correctly, only the port must be specified as 3022. Please tell me how to solve this problem?
Answer the question
In order to leave comments, you need to log in
Run the application on the server using supervisor or systemd
Proxy requests to it through Nginx
Set up Debian, Nginx and Gunicorn for a Django project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question