container cannot communicate with the host

Youzhi Zhu

Hi all

I have an app A and a service B, service B is running on the dea
server(ip, app A need to connect with service B through tcp, it
works normally in my LAN, but when I push A to cf, it cannot connect to B,
then I execute bin/wsh to get into the container and ping the host ip,
it's unreachable, as below:

*root(a)18mkbd9n808:~# ping ( 56(84)
bytes of data.From icmp_seq=1 Destination Port UnreachableFrom icmp_seq=2 Destination Port Unreachable^C--- ping
statistics ---2 packets transmitted, 0 received, +2 errors, 100% packet
loss, time 1002ms*

But if I ping another host in the LAN. it can be reached!!!

*root(a)18mkbd9n808:~# ping ( 56(84)
bytes of data.64 bytes from <>: icmp_seq=1
ttl=63 time=1.60 ms64 bytes from <>: icmp_seq=2
ttl=63 time=0.421 ms^C--- ping statistics ---2 packets
transmitted, 2 received, 0% packet loss, time 1001msrtt min/avg/max/mdev =
0.421/1.013/1.606/0.593 ms*

It's wired!!! my cf-release is cf-175 and I have only one dea server.Does
anyone met this situation before? thanks!

Join to automatically receive all group messages.