Set localhost as default

This commit is contained in:
rembo10
2015-07-08 00:45:33 -07:00
parent e6663c96b5
commit f131d316ca
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@
HTTP Host
</label>
<input type="text" name="http_host" value="${config['http_host']}" size="30">
<small>e.g. localhost or an IP, such as 0.0.0.0</small>
<small>Use 0.0.0.0 to allow outside connections</small>
</div>
<div class="row">
<label title="Port to bind web server to. Note that ports below 1024 may require root.">

View File

@@ -99,7 +99,7 @@ _CONFIG_DEFINITIONS = {
'HPUSER': (str, 'General', ''),
'HTTPS_CERT': (str, 'General', ''),
'HTTPS_KEY': (str, 'General', ''),
'HTTP_HOST': (str, 'General', '0.0.0.0'),
'HTTP_HOST': (str, 'General', 'localhost'),
'HTTP_PASSWORD': (str, 'General', ''),
'HTTP_PORT': (int, 'General', 8181),
'HTTP_PROXY': (int, 'General', 0),