Re: Security group rules to allow HTTP communication between 2 apps deployed on CF
Daniel Mikusa
On Sat, Aug 8, 2015 at 2:33 AM, Ahmad Ferdous Bin Alam <
ahmadferdous(a)gmail.com> wrote: Hi, How are you trying to connect to App1 from App2? If you access App2's URL, it should work? i.e. app-2.your-cf-domain.com I thought it might be a security group rule issue that prevented outbound For inbound traffic, the restriction is HTTP, HTTPS & WebSockets. I don't believe there are any further restrictions. I searched for documentation as to how inbound traffic rules can be addedYes. If you deploy App2 and have it send a request to App1, that should work as long as you use the URL for App1. 2) Is the security group given below correct? Its purpose is to allow allThis is the group I've used to allow everything. What you've entered looks OK too. [ { "destination": "0.0.0.0-255.255.255.255", "protocol": "all" } ] Don't forget to bind the security group to your space or to the running / staging groups. Also, I think you need to restart or restage your app so it's container gets recreated with the new rules. 3) Is there any way we can add inbound traffic 'allow' rules? Shouldn't be necessary. Dan
|
|