Skip to content

Commit 50cf2d6

Browse files
committed
Revert "Revert "Use '127.0.0.1' for running services by default, instead of '0.0.0.0'""
This reverts commit 45c4bdb.
1 parent 45c4bdb commit 50cf2d6

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

conf/st2.conf.sample

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ max_page_size = 100
2929
# True to mask secrets in the API responses
3030
mask_secrets = True
3131
# StackStorm API server host
32-
host = 0.0.0.0
32+
host = 127.0.0.1
3333
# None
3434
debug = False
3535
# StackStorm API server port
@@ -60,7 +60,7 @@ cert = /etc/apache2/ssl/mycert.crt
6060
# JSON serialized arguments which are passed to the authentication backend in a standalone mode.
6161
backend_kwargs = None
6262
# Host on which the service should listen on.
63-
host = 0.0.0.0
63+
host = 127.0.0.1
6464
# Path to the SSL private key file. Only used when "use_ssl" is specified.
6565
key = /etc/apache2/ssl/mycert.key
6666
# Specify to enable SSL / TLS mode
@@ -110,7 +110,7 @@ ssl_cert_reqs = None
110110
# Create the connection to mongodb using SSL
111111
ssl = False
112112
# host of db server
113-
host = 0.0.0.0
113+
host = 127.0.0.1
114114
# name of database
115115
db_name = st2
116116
# Backoff multiplier (seconds).
@@ -240,7 +240,7 @@ debug = False
240240
# Send empty message every N seconds to keep connection open
241241
heartbeat = 25
242242
# StackStorm stream API server host
243-
host = 0.0.0.0
243+
host = 127.0.0.1
244244
# location of the logging.conf file
245245
logging = conf/logging.conf
246246
# StackStorm API stream, server port

conf/st2.dev.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ host = 127.0.0.1
44

55
[api]
66
# Host and port to bind the API server.
7-
host = 0.0.0.0
7+
host = 127.0.0.1
88
port = 9101
99
logging = st2api/conf/logging.conf
1010
mask_secrets = True
@@ -18,7 +18,7 @@ encryption_key_path = conf/st2_kvstore_demo.crypto.key.json
1818

1919
[stream]
2020
# Host and port to bind the API server.
21-
host = 0.0.0.0
21+
host = 127.0.0.1
2222
port = 9102
2323
logging = st2stream/conf/logging.conf
2424
# allow_origin is required for handling CORS in st2 web UI.
@@ -41,7 +41,7 @@ logging = st2actions/conf/logging.conf
4141
enable = False
4242

4343
[auth]
44-
host = 0.0.0.0
44+
host = 127.0.0.1
4545
port = 9100
4646
use_ssl = False
4747
debug = False

conf/st2.package.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[api]
44
# Host and port to bind the API server.
5-
host = 0.0.0.0
5+
host = 127.0.0.1
66
port = 9101
77
logging = /etc/st2/logging.api.conf
88
mask_secrets = True
@@ -35,7 +35,7 @@ logging = /etc/st2/logging.exporter.conf
3535
logging = /etc/st2/logging.garbagecollector.conf
3636

3737
[auth]
38-
host = 0.0.0.0
38+
host = 127.0.0.1
3939
port = 9100
4040
use_ssl = False
4141
debug = False

conf/st2.prod.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[api]
44
# Host and port to bind the API server.
5-
host = 0.0.0.0
5+
host = 127.0.0.1
66
port = 9101
77
logging = /etc/st2api/logging.conf
88
mask_secrets = True
@@ -22,7 +22,7 @@ logging = /etc/st2reactor/logging.rulesengine.conf
2222
logging = /etc/st2actions/logging.conf
2323

2424
[auth]
25-
host = 0.0.0.0
25+
host = 127.0.0.1
2626
port = 9100
2727
use_ssl = False
2828
debug = False

conf/st2.tests.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ db_name = st2-test
55

66
[api]
77
# Host and port to bind the API server.
8-
host = 0.0.0.0
8+
host = 127.0.0.1
99
port = 9101
1010
logging = st2tests/conf/logging.api.conf
1111
mask_secrets = False
@@ -24,7 +24,7 @@ logging = st2reactor/conf/logging.rulesengine.conf
2424
logging = st2actions/conf/logging.conf
2525

2626
[auth]
27-
host = 0.0.0.0
27+
host = 127.0.0.1
2828
port = 9100
2929
use_ssl = False
3030
debug = False

conf/st2.tests1.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
[api]
44
# Host and port to bind the API server.
5-
host = 0.0.0.0
5+
host = 127.0.0.1
66
port = 9101
77
logging = st2tests/conf/logging.api.conf
88
mask_secrets = False
@@ -21,7 +21,7 @@ logging = st2reactor/conf/logging.rulesengine.conf
2121
logging = st2actions/conf/logging.conf
2222

2323
[auth]
24-
host = 0.0.0.0
24+
host = 127.0.0.1
2525
port = 9100
2626
use_ssl = False
2727
debug = False

0 commit comments

Comments
 (0)