turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bolshoy <da...@zootec.com>
Subject RE:XMLRPC listener ports
Date Tue, 04 Feb 2003 22:55:56 GMT
Hi Bas,

You are lucky, I tackled just the same problem yesterday, and here is a
solution.

1. you have to change the file
org.apache.turbine.services.xmlrpc.TurbineXmlRpcService.java :
 new WebServer(port)  -->  new WebServer(port, address)

2. add the following to your TR.props: services.XmlRpcService.address =
0.0.0.0


What happens is the following. The WebServer binds to 127.0.0.1 by default,
and not to all adapters as the doc says. So you have to pass 0.0.0.0 as the
binding address to bind to everything. But even if you do pass this, it is
used only for SecureWebServer, and not for a regular WebServer, so you have
to change the code.

Hope this helps.

Cheers,

David


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message