So when I run the following code, it gives me 2 IP’s but both lead to a local network IP. How do I make it route to a public IP if possible?
OS: Windows 10
Python Version: Python 3.12.0
Flask Version: 3.0.2
from flask import Flask, request, Response
app = Flask(__name__)
@app.route('/', methods=['GET'])
def home():
return "Hey!"
@app.route('/webhook', methods=['POST'])
def respond():
print(request.json)
return Response(status=200)
if __name__ == '__main__':
app.run(debug=True, host="0.0.0.0")
Thanks