Only listen to local loopback instead of user-configured host as discussed in issue #147

Also issue warning when trying to bind to a port below 1024 and use default port in that case
This commit is contained in:
Janek Bevendorff
2017-01-24 00:08:48 +01:00
parent 8a3ac7a26e
commit 40aa92c5f7
5 changed files with 71 additions and 110 deletions

View File

@@ -42,8 +42,6 @@ public:
static void setSearchInAllDatabases(bool searchInAllDatabases);
static bool supportKphFields();
static void setSupportKphFields(bool supportKphFields);
static QString httpHost();
static void setHttpHost(QString host);
static int httpPort();
static void setHttpPort(int port);