|
@@ -31,7 +31,7 @@ public class JettyServer {
|
|
|
// HTTP connector
|
|
|
ServerConnector connector = new ServerConnector(server);
|
|
|
if (ip!=null && ip.trim().length()>0) {
|
|
|
- connector.setHost(ip); // The network interface this connector binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.
|
|
|
+ //connector.setHost(ip); // The network interface this connector binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.
|
|
|
}
|
|
|
connector.setPort(port);
|
|
|
server.setConnectors(new Connector[]{connector});
|