Skip to content

Commit

Permalink
fix: use localhost instead of 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Dec 10, 2021
1 parent 3a3f20b commit 13695e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func AssertDockerIsRunning() error {
}

func AssertPortIsAvailable(port string) error {
listener, err := net.Listen("tcp4", ":"+port)
listener, err := net.Listen("tcp4", "localhost:"+port)
if err != nil {
return err
}
Expand Down

0 comments on commit 13695e5

Please sign in to comment.