old_contents: from server import app
  
  from werkzeug.serving import run_simple
  
  if __name__ == '__main__':
      run_simple('localhost.com', 5000, app, use_reloader=True, use_debugger=True)
  
new_contents: from server import app
  
  from werkzeug.serving import run_simple
  
  if __name__ == '__main__':
      run_simple('localhost', 5000, app, use_reloader=True, use_debugger=True)
  
subject: change to localhost