Skip to content

Commit

Permalink
fixes #1011 default listens bind to localhost in sample configs
Browse files Browse the repository at this point in the history
  • Loading branch information
adriannuta committed Aug 21, 2019
1 parent 70880b6 commit 023c9b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sphinx-min.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ indexer

searchd
{
listen = 9312
listen = 9306:mysql41
listen = 127.0.0.1:9312
listen = 127.0.0.1:9306:mysql41
log = @CONFDIR@/log/searchd.log
query_log = @CONFDIR@/log/query.log
read_timeout = 5
Expand Down
4 changes: 2 additions & 2 deletions sphinx.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ searchd
# listen = 192.168.0.1:9312
# listen = 9312
# listen = /var/run/searchd.sock
listen = 9312
listen = 9306:mysql41
listen = 127.0.0.1:9312
listen = 127.0.0.1:9306:mysql41

# whether listener will set flag TCP_FASTOPEN which allows TCP RFC7413
# fast open connection. Note, that apart this setting you need also
Expand Down

0 comments on commit 023c9b2

Please sign in to comment.