admin管理员组文章数量:1394408
My goal is to have 2 azure app containers into the same environment who talk each other.
I have my environment who has this 2 containers name:
- nginx => 80 allow from any where
- symfony-app => 9000 allow from containers only
the ip of my symfony-app container is 100.100.0.116:
Into my nginx container telnet is working on 100.100.0.116 on port 9000
My issue is from nginx container Im not able to resolve the hostname symfony-app
It's giving me the following IP:
root@nginx--dxl9wvh-7b456fdcd-zpqdq:/# telnet symfony-app 9000
Trying 100.100.252.251...
^C
root@nginx--dxl9wvh-7b456fdcd-zpqdq:/#
Do you have any idea what I missed ?
Thank you in advance for your help
My goal is to have 2 azure app containers into the same environment who talk each other.
I have my environment who has this 2 containers name:
- nginx => 80 allow from any where
- symfony-app => 9000 allow from containers only
the ip of my symfony-app container is 100.100.0.116:
Into my nginx container telnet is working on 100.100.0.116 on port 9000
My issue is from nginx container Im not able to resolve the hostname symfony-app
It's giving me the following IP:
root@nginx--dxl9wvh-7b456fdcd-zpqdq:/# telnet symfony-app 9000
Trying 100.100.252.251...
^C
root@nginx--dxl9wvh-7b456fdcd-zpqdq:/#
Do you have any idea what I missed ?
Thank you in advance for your help
Share Improve this question asked Mar 27 at 12:23 FpasquerFpasquer 4134 silver badges20 bronze badges1 Answer
Reset to default 0Ok I found the issue.
The ingress type of the symfony container has to be tcp not http
本文标签: Azure app container for Nginx and SymfonyStack Overflow
版权声明:本文标题:Azure app container for Nginx and Symfony - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744089881a2589218.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论