Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/vest/cli/vest-cli-runner.gd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func _connect(params: VestCLI.Params):
var host := params.host
var port := params.port

if not host: host = "0.0.0.0"
if not host: host = "127.0.0.1"
if port == -1: port = 54932

var peer := StreamPeerTCP.new()
Expand Down
4 changes: 2 additions & 2 deletions addons/vest/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

name="vest"
description="A unit testing library for Godot"
author="Tamás Gálffy"
version="1.10.2"
author="Tamás Gálffy and contributors"
version="1.10.3"
script="plugin.gd"
6 changes: 3 additions & 3 deletions addons/vest/runner/vest-daemon-runner.gd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func _run_with_params(params: VestCLI.Params) -> VestResult.Suite:
return null

# Start process
params.host = "0.0.0.0"
params.host = "127.0.0.1"
params.port = _port
if not _is_debug_run:
VestCLI.run(params)
Expand Down Expand Up @@ -93,10 +93,10 @@ func _start(port: int = -1):
if port < 0:
for i in range(32):
port = randi_range(49152, 65535)
if _server.listen(port) == OK:
if _server.listen(port, "127.0.0.1") == OK:
break
else:
_server.listen(port)
_server.listen(port, "127.0.0.1")
_port = port

if not _server.is_listening():
Expand Down
Loading