fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

Make the address the WS binds to configurable #377

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The system option "org.daisy.pipeline.ws.host" doesn't have an effect on the IP 
address the WS binds to. The default "all-zeros" address is always used.

In order to bind only to address 127.0.0.1, I had to change the following in 
PipelineWebService.java:

[line 123]: component.getServers().add(Protocol.HTTP, "127.0.0.1", 
routes.getPort());
[line 126]: Server server = component.getServers().add(Protocol.HTTPS, 
"127.0.0.1", routes.getPort());

Original issue reported on code.google.com by bertfrees on 16 Jan 2014 at 11:30