Re: [Dev] Start servers with public ip on ec2 instance
On Sat, Oct 17, 2015 at 10:34 AM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Devs, > > I am trying start a wso2esb in ec2 instance. But the server is starting > with private ip instead of public IP. > The public IP address is mapped to the primary private IP address through network address translation (NAT)[1] , therefore you can not start any server on the public IP. [1] http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/using-instance-addressing.html > > How can I set the public ip to server when it is starting up. > No need to set the public IP in the config. Use domain name instead of IPs. > > > -- > *Thanks and Regards,* > Anuruddha Lanka Liyanarachchi > Software Engineer - WSO2 > Mobile : +94 (0) 712762611 > Tel : +94 112 145 345 > anurudd...@wso2.com > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Deependra Ariyadewa WSO2, Inc. http://wso2.com/ http://wso2.org email d...@wso2.com; cell +94 71 403 5996 ; Blog http://risenfall.wordpress.com/ PGP info: KeyID: 'DC627E6F' *WSO2 - Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Start servers with public ip on ec2 instance
Hi Devs, I am trying start a wso2esb in ec2 instance. But the server is starting with private ip instead of public IP. How can I set the public ip to server when it is starting up. -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 anurudd...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Start servers with public ip on ec2 instance
Hi Anuruddha, Please try the instruction in the following article http://wso2.com/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services/ Thank you, Nadeesha On Fri, Oct 16, 2015 at 10:04 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Devs, > > I am trying start a wso2esb in ec2 instance. But the server is starting > with private ip instead of public IP. > > How can I set the public ip to server when it is starting up. > > -- > *Thanks and Regards,* > Anuruddha Lanka Liyanarachchi > Software Engineer - WSO2 > Mobile : +94 (0) 712762611 > Tel : +94 112 145 345 > anurudd...@wso2.com > -- Nadeesha Gamage Associate Technical Lead - Solutions Engineering T : +94 77 394 5706 B : https://nadeesha678.wordpress.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Start servers with public ip on ec2 instance
Hi Anuruddha, You need to set bind-address parameter in your transport receivers in axis2.xml as follows; hostname or IP address Read [1] for more info. [1] https://docs.wso2.com/display/ESB481/Setting+Up+Host+Names+and+Ports Thanks. On Sat, Oct 17, 2015 at 10:46 AM, Nadeesha Gamagewrote: > Hi Anuruddha, > Please try the instruction in the following article > > http://wso2.com/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services/ > > > Thank you, > Nadeesha > > On Fri, Oct 16, 2015 at 10:04 PM, Anuruddha Liyanarachchi < > anurudd...@wso2.com> wrote: > >> Hi Devs, >> >> I am trying start a wso2esb in ec2 instance. But the server is starting >> with private ip instead of public IP. >> >> How can I set the public ip to server when it is starting up. >> >> -- >> *Thanks and Regards,* >> Anuruddha Lanka Liyanarachchi >> Software Engineer - WSO2 >> Mobile : +94 (0) 712762611 >> Tel : +94 112 145 345 >> a nurudd...@wso2.com >> > > > > -- > Nadeesha Gamage > Associate Technical Lead - Solutions Engineering > T : +94 77 394 5706 > B : https://nadeesha678.wordpress.com/ > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev