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.
|
# under the License.
|
||||||
|
|
||||||
# The binding interface for the management server
|
# 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
|
# The service context path where URL requests should be served
|
||||||
context.path=/client
|
context.path=/client
|
||||||
|
|||||||
@ -85,7 +85,7 @@ public class ServerDaemon implements Daemon {
|
|||||||
private int sessionTimeout = 30;
|
private int sessionTimeout = 30;
|
||||||
private boolean httpsEnable = false;
|
private boolean httpsEnable = false;
|
||||||
private String accessLogFile = "access.log";
|
private String accessLogFile = "access.log";
|
||||||
private String bindInterface = "";
|
private String bindInterface = null;
|
||||||
private String contextPath = "/client";
|
private String contextPath = "/client";
|
||||||
private String keystoreFile;
|
private String keystoreFile;
|
||||||
private String keystorePassword;
|
private String keystorePassword;
|
||||||
@ -117,7 +117,7 @@ public class ServerDaemon implements Daemon {
|
|||||||
if (properties == null) {
|
if (properties == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
setBindInterface(properties.getProperty(BIND_INTERFACE, ""));
|
setBindInterface(properties.getProperty(BIND_INTERFACE, null));
|
||||||
setContextPath(properties.getProperty(CONTEXT_PATH, "/client"));
|
setContextPath(properties.getProperty(CONTEXT_PATH, "/client"));
|
||||||
setHttpPort(Integer.valueOf(properties.getProperty(HTTP_PORT, "8080")));
|
setHttpPort(Integer.valueOf(properties.getProperty(HTTP_PORT, "8080")));
|
||||||
setHttpsEnable(Boolean.valueOf(properties.getProperty(HTTPS_ENABLE, "false")));
|
setHttpsEnable(Boolean.valueOf(properties.getProperty(HTTPS_ENABLE, "false")));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user