azure - container instance azure created based on docker image not accessible
问题描述
I have created and container instance in azure and the docker container is running actually, I can see in the logs that the spring boot app is started and connected to the mongo. I have in the properties the public IP, the DNS, and FQDN, I would like to access the internet using the FQDN; for example:
GET https://app.azurecontainer.io/api/v1/clients
but it does not respond anything I'm doing something wrong, using postman is not working as well. I don't have any idea how to access it.
解决方案
无法获取容器实例的响应信息。
您尝试添加一个端口来解决此问题。我将其总结为一个答案,希望对更多的论坛用户有所帮助。
app.azurecontainer.io:{port}/api/v1/clients
推荐阅读
- java - Android:我来自哪个片段?
- mysql - Docker:将 mysql 映像添加到项目不起作用
- javascript - 有没有办法使用 react-router-dom 创建指向特定组件的某些 html 的链接?
- java - Kubernetes 服务节点端口不工作
- selenium-webdriver - Katalon Studio:如何处理消失的验证或成功消息?
- c# - 当 UseShellExecute 为真时如何读取控制台输出?
- python - 选择两个日期之间的数据集行
- java - 方法/功能级别的静态分析工具?
- html - 完美的垂直图标在文本旁边居中
- html - 输入值时,文本光标在垫输入字段之间跳转