提交 edd7eb9b 编写于 作者: M Marc-Antoine Perennou

test-server: only listen to 127.0.0.1

Signed-off-by: NMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
上级 dfc98dcc
......@@ -5,6 +5,7 @@ daemonize no
pidfile /var/run/redis.pid
port 6379
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
......
......@@ -186,7 +186,7 @@ proc test_server_main {} {
if {!$::quiet} {
puts "Starting test server at port $port"
}
socket -server accept_test_clients $port
socket -server accept_test_clients -myaddr 127.0.0.1 $port
# Start the client instances
set ::clients_pids {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册