title: when i first ran my django project on local host 127.0.0.1:8000 it opened properly but now after adding product it shows 127.0.0.1 refused to connect
body: <p><a href="https://i.stack.imgur.com/k5AlT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k5AlT.png" alt="this is my screen"></a>so this is the code and something i found weird is that my db.sqlite3  has a '?' (question mark) icon but the tutorial i am following has a white paper icon when i ran 127.0.0.1:8000  for first time it showed me my django local host  but now it says this site cant be reached. i tried changing local host in settings.py to 127.0.0.1</p>
  
  <pre><code>#view
  from django.http import HttpResponse
  from django.shortcuts import render
  
  
  def index(request):
      return HttpResponse('Hello world! ')
  
  
  def new(request):
      return HttpResponse('New products ')
  
  #urls
  from django.urls import path
  from . import views
  
  urlpatterns = [
      path('', views.index),
      path('new', views.new)
  ]
  </code></pre>