'CSS file has contents locally but in browser is empty

I created a website (on local host for now), so I linked html with css and my css is ready. I wrote everything, but then the css doesnt show on the website

I opened the inspect element > sources > style.css and I found the css empty, but in vs code it has 1200 lines in Chrome its 0 (I saved the folder after writing the css)

Here is the template code that I used to link with css

<!DOCTYPE html>
{% load static %}
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
  <link href="{% static 'css/style.css' %}" rel="stylesheet">


Solution 1:[1]

Try to change the Server Port. For example:

py manage.py runserver 3000

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tyler2P