Below mentioned code - when in execute in vs code using the cmd - python -m flask run/ fask run. I get the error message - OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
Tried changing the port and executing it still no luck. If anybody is aware of the situation request help
# import main Flask class and request object
from werkzeug.wrappers import Request, Response
from flask import Flask, request
app = Flask(name)
@app.route("/")
def display():
return "Hello World!"
if name == 'main':
from werkzeug.serving import run_simple
run_simple('localhost', 9998 , app)