Skip to content

Commit

Permalink
bind to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chr12c committed Feb 7, 2025
1 parent 58e3c93 commit 57aeac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provider-service/stub/internal/config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
server:
host: localhost
host: 0.0.0.0
port: 8080
3 changes: 2 additions & 1 deletion provider-service/stub/internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package config

import (
"net"
"os"
"testing"

Expand All @@ -19,7 +20,7 @@ func TestConfig(t *testing.T) {
var _ = Context("load", func() {
defaultConfig := Config{
Server: baseConfig.Server{
Host: "localhost",
Host: net.IPv4zero.String(),
Port: 8080,
},
}
Expand Down

0 comments on commit 57aeac2

Please sign in to comment.