Hi,
When we have setup a public IP (eg. 2.2.2.2) and a private IP (eg. 1.1.1.1)
for a server setup given that [1] changes done on carbon.xml.
How can I retrieve the public IP from the following jaggery code;
> var carbon = require('carbon');
> print (carbon.server.address('http'));
This still prints "http://1.1.1.1:9763". Is there any additional
configurations needed to be done on carbon.xml?
[1] carbon.xml
<HostName>2.2.2.2</HostName>
<MgtHostName>2.2.2.2</MgtHostName>
--
With Regards,
*Rasika Perera*
Software Engineer
M: +94 71 680 9060 E: [email protected]
LinkedIn: http://lk.linkedin.com/in/rasika90
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev