Skip to content

Commit 394a7a0

Browse files
committed
Update Cloud SQL samples for viewing app on linux GCE VM.
1 parent 005073d commit 394a7a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cloud-sql/mysql/sqlalchemy/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ def save_vote(db: sqlalchemy.engine.base.Engine, team: str) -> Response:
158158

159159

160160
if __name__ == "__main__":
161-
app.run(host="127.0.0.1", port=8080, debug=True)
161+
app.run(host="0.0.0.0", port=8080, debug=True)

cloud-sql/postgres/sqlalchemy/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ def save_vote(db: sqlalchemy.engine.base.Engine, team: str) -> Response:
161161

162162

163163
if __name__ == "__main__":
164-
app.run(host="127.0.0.1", port=8080, debug=True)
164+
app.run(host="0.0.0.0", port=8080, debug=True)

cloud-sql/sql-server/sqlalchemy/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ def save_vote(db: sqlalchemy.engine.base.Engine, team: str) -> Response:
159159

160160

161161
if __name__ == "__main__":
162-
app.run(host="127.0.0.1", port=8080, debug=True)
162+
app.run(host="0.0.0.0", port=8080, debug=True)

0 commit comments

Comments
 (0)