最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Azure app container for Nginx and Symfony - Stack Overflow

programmeradmin13浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

Ok I found the issue.

The ingress type of the symfony container has to be tcp not http

发布评论

评论列表(0)

  1. 暂无评论