I have downloaded django and have followed the instructions to deploy my first website:
In the docs, it says:
“Now that the server’s running, visit http://127.0.0.1:8000/ with your Web browser. You’ll see a “Welcome to Django” page, in pleasant, light-blue pastel. It worked!”
The problem is that I am not running the website locally, instead, it is on a remote machine. Additionally, I have Apache running on that machine, so when I type:
I get the default apache page.
When I run http://my_ipadress:8000
I get the error (in my browser);
Oops! Firefox could not connect to
[MY_IPADDRESS]:8000
How may I resolve this?
Right now, you are running a development server, and by default, it prevents the web page from being hosted to a remote client. The way to get around this is in the section called "Changing the port" in the docs you linked: