Skip to content

Commit

Permalink
Use 0.0.0.0 instead of localhost to better support IPv6 hosts
Browse files Browse the repository at this point in the history
on a machine with IPv6 enabled, ports might not be exposed on localhost and just
on 0.0.0.0
  • Loading branch information
dcermak committed Oct 2, 2024
1 parent c6537e6 commit 85a6047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_proxy_pod(pod_per_test: PodData, host) -> None:
"Hello Green World"
in host.run_expect(
[0],
f"curl --fail http://localhost:{pod_per_test.forwarded_ports[0].host_port}",
f"curl --fail http://0.0.0.0:{pod_per_test.forwarded_ports[0].host_port}",
).stdout
)

Expand Down

0 comments on commit 85a6047

Please sign in to comment.