Specify host as 0.0.0.0 to bind to all IP addresses. On Wed, Oct 28, 2015 at 9:12 PM, Sagara Gunathunga <[email protected]> wrote:
> When I run Petstore security service without specifying netty config file, > I can access through 192.168.1.2 , 127.0.0.1 IPs and 'localhost' name > without any issue, then I wanted to change port only, once I specify Netty > config file to do so I only can access through 127.0.0.1 and 'localhost' > with following configuration. > > <listener > id="netty" > host="127.0.0.1" > port="8070" > bossThreadPoolSize="2" > workerThreadPoolSize="250" > execHandlerThreadPoolSize="60"/> > > If I change configuration as follows I can only access through 192.168.1.2 > only. > > <listener > id="netty" > host="192.168.1.2" > port="8070" > bossThreadPoolSize="2" > workerThreadPoolSize="250" > execHandlerThreadPoolSize="60"/> > > IMO this behaviour is not consistent with default configuration. > > > > Thanks ! > -- > Sagara Gunathunga > > Architect; WSO2, Inc.; http://wso2.com > V.P Apache Web Services; http://ws.apache.org/ > Linkedin; http://www.linkedin.com/in/ssagara > Blog ; http://ssagara.blogspot.com > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>* *email: **[email protected]* <[email protected]> * cell: +94 77 3320919blog: **http://blog.afkham.org* <http://blog.afkham.org> *twitter: **http://twitter.com/afkham_azeez* <http://twitter.com/afkham_azeez> *linked-in: **http://lk.linkedin.com/in/afkhamazeez <http://lk.linkedin.com/in/afkhamazeez>* *Lean . Enterprise . Middleware*
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
