[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problem to expose the apps



Make sure that iptables and whatever other network security layers are
involved allows for incoming connections on 80/443 to the master
(where your router is running).

On Thu, Jul 9, 2015 at 6:46 AM, Massimiliano Dessì
<massimiliano dessi gmail com> wrote:
>
> Hi, on a origin v3 installed with ansible
> I've the following configuration
>
> DNS  *.cloudapps.<mydomain_redacted> -> master ip
>
> NodeJS Pods (Nodejs-example)
> NodeJS Service (Selectors: name=nodejs-frontend)
> Nodejs Frontend (on node1 )
>
> The HA stat page show the Nodejs frontend
> be_http_<project-nodejs-route>
>
> the
> oc exec -p <router-pod> -- cat /var/lib/containers/router/routes.json
>
> shows
>
> "default/router": {
>     "Name": "default/router",
>     "EndpointTable": [
>       {
>         "ID": "10.1.1.3:80",
>         "IP": "10.1.1.3",
>         "Port": "80",
>         "TargetName": "router-1-29unx"
>       }
>     ],
>     "ServiceAliasConfigs": {}
>   },
>   "<myproject redacted>/nodejs-frontend": {
>     "Name": "<myproject redacted>/nodejs-frontend",
>     "EndpointTable": [
>       {
>         "ID": "10.1.1.7:8080",
>         "IP": "10.1.1.7",
>         "Port": "8080",
>         "TargetName": "nodejs-frontend-2-tf7eu"
>       }
>     ],
>     "ServiceAliasConfigs": {
>       "<myproject redacted>-nodejs-route": {
>         "Host": "nodejs.cloudapps.<mydomain_redacted>",
>         "Path": "",
>         "TLSTermination": "",
>         "Certificates": null,
>         "Status": "saved"
>       }
>     }
>   },
>
> using the address from oc get svc to retrieve the nodejs-frontend ip and
> using with curl <nodejs-frontend ip>:8080 I'm able to see the html of the
> page
>
> the ping nodejs.cloudapps.<mydomain_redacted> shows the address of the
> master,
>
> but if I try to call with the browser
> http://node-js.cloudapps.<mydomain_redacted> the browser is not able to
> connect,
> which piece in the configuration I've missed or which other checks can I try
> ?
>
> Thanks
> Max
>
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]