Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1-hello-world/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def hello():


if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080)
app.run(host='0.0.0.0', port=8080)
# [END app]
2 changes: 1 addition & 1 deletion 2-structured-data/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)
2 changes: 1 addition & 1 deletion 3-binary-data/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)
2 changes: 1 addition & 1 deletion 4-auth/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)
2 changes: 1 addition & 1 deletion 5-logging/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)
2 changes: 1 addition & 1 deletion 6-pubsub/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)
2 changes: 1 addition & 1 deletion 7-gce/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)
2 changes: 1 addition & 1 deletion optional-container-engine/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
# This is only used when running locally. When running live, gunicorn runs
# the application.
if __name__ == '__main__':
app.run(host='127.0.0.1', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)