- 新しい順
- 投票が多い順
- コメントが多い順
It seems like your Flask application is only accessible through the domain name and not the static IP address. Here are some things you can check to troubleshoot the issue.
Route Configuration: Double-check your Flask app's route configuration. Make sure the routes are defined to handle requests coming in on any IP address, not just the domain name.
Security Groups: AWS Lightsail uses security groups to control inbound and outbound traffic. Verify that the security group associated with your instance allows traffic on the port your Flask app is running on (usually port 5000) for both the domain name and the static IP address.
By checking these points, you should be able to identify the reason why the static IP address isn't working and get your Flask app accessible through both the domain name and the static IP.
関連するコンテンツ
- AWS公式更新しました 3年前
Please clarify why do you mention the static IP address? container services are ready to receive HTTPS traffic if you have a container service created and configured with a public endpoint. Which you have done.