we need more context
Installed LiveReload ( pip install django-livereload-server
) So that the page in browser will automatically update as I work on HTML and CSS. Fired up the server with no errors except the LiveReload one:
python ./manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
August 22, 2024 - 09:21:09
Django version 5.1, using settings 'PT77.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
LiveReload exception: <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it>
I've opened its port in Windows Firewall, but the LiveReload still doesn't work. I work and run the server on a local machine. I did add 'livereload' into INSTALLED_APPS and 'livereload.middleware.LiveReloadScript' into MIDDLEWARE. That's basically all I did.