Did you map LB-Public IP to Cartridge Host Name in /etc/hosts file?
On Monday, March 30, 2015, Ricardo Carvalho <[email protected]>
wrote:
> Hi everyone
>
>
> I'm using Apache Stratos 4.0.0 with two cartridge instances, one load
> balancer and one php cartridge. I defined the http and https ports as 8280
> and 8243 respectively in the puppet nodes.pp file, and used the following
> portmapping for both cartridges:
>
>
> "portMapping": [
> {
> "protocol": "http",
> "port": "80",
> "proxyPort": "8280"
> },
> {
> "protocol":"https",
> "port":"443",
> "proxyPort":"8243"
> }
> ],
>
> They both initialize correctly, and I can see their content if I directly
> access port 80 (the "It Works" page for the load balancer and the php files
> for the php cartridge). However, when I try to acess through the lb public
> ip and port 8280, I get a "Unknown host name < LB public IP>".
>
> Does anyone have any idea why this might be happening? I can post logs and
> config files if needed.
>
> Thank you for your help
> Ricardo Carvalho
>
>
>
--
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2
Mobile : +94777568639
Blog : rajkumarr.com