Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

554
Views
Flask + ngrok - Access to subdomain.ngrok.io was denied - 403 Error

I was starting a simple Flask app and successfully hosted it locally at port 5000.

However, I couldn't set up a tunnel to a public url via ngrok.

Here are my codes:


app = Flask(__name__)

@app.route("/")
def hello_world():
    return "<p>Hello, World!!</p>"

if __name__ == '__main__':
    app.run(debug=True)

My local host is showing "Hello World!!" normally but clicking on the ngrok page shows this:

Successfully loaded ngrok

But cannot access through the subdomain url

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

There is an issue where the latest mac os mojave uses the default port for flask. To resolve it, head over to System Preferences > Sharing and unselect the AirPlay Receiver. Or change your default flask port to something other than 5000 using flask run --port=5002 and restart your ngrok server: ngrok http 5002

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!