Search code examples
python-3.xgoogle-app-enginegoogle-app-engine-python

Unable to run AppEngine Bigquery example


I am trying to run the Bigquery example found in

python-docs-samples/appengine/standard_python37/bigquery

I went to that folder and ran

pip install -r requirements.txt

From there I ran

python main.py

My localhost launches (http://localhost:8080). However, when I go to that URL it says "This site can't be reached." What am I doing wrong?


Solution

  • I had to add this under the main function

    app.run(host='127.0.0.1', port=8080, debug=True)