mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
client: mgmt server listen default to 0.0.0.0 (#2907)
This makes the management server listen on all interfaces by default. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
5cf163d888
commit
47c9c1cb58
@ -16,7 +16,8 @@
|
||||
# under the License.
|
||||
|
||||
# The binding interface for the management server
|
||||
bind.interface=::
|
||||
# The management server will listen on all interfaces by default
|
||||
# bind.interface=::
|
||||
|
||||
# The service context path where URL requests should be served
|
||||
context.path=/client
|
||||
|
||||
@ -85,7 +85,7 @@ public class ServerDaemon implements Daemon {
|
||||
private int sessionTimeout = 30;
|
||||
private boolean httpsEnable = false;
|
||||
private String accessLogFile = "access.log";
|
||||
private String bindInterface = "";
|
||||
private String bindInterface = null;
|
||||
private String contextPath = "/client";
|
||||
private String keystoreFile;
|
||||
private String keystorePassword;
|
||||
@ -117,7 +117,7 @@ public class ServerDaemon implements Daemon {
|
||||
if (properties == null) {
|
||||
return;
|
||||
}
|
||||
setBindInterface(properties.getProperty(BIND_INTERFACE, ""));
|
||||
setBindInterface(properties.getProperty(BIND_INTERFACE, null));
|
||||
setContextPath(properties.getProperty(CONTEXT_PATH, "/client"));
|
||||
setHttpPort(Integer.valueOf(properties.getProperty(HTTP_PORT, "8080")));
|
||||
setHttpsEnable(Boolean.valueOf(properties.getProperty(HTTPS_ENABLE, "false")));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user