Bind REST API to localhost by default

Binding to localhost by default is more secure than binding to all
interfaces.
This commit is contained in:
Markus Mäkelä
2017-10-22 09:57:12 +03:00
parent 0b1e2ae0a5
commit 284cd50412
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ MXS_BEGIN_DECLS
/** Default port where the REST API listens */
#define DEFAULT_ADMIN_HTTP_PORT 8989
#define DEFAULT_ADMIN_HOST "::"
#define DEFAULT_ADMIN_HOST "127.0.0.1"
#define RELEASE_STR_LENGTH 256
#define SYSNAME_LEN 256