Skip to content

Commit

Permalink
fix: listen on all interfaces for ecs-server
Browse files Browse the repository at this point in the history
  • Loading branch information
frco9 committed Mar 22, 2023
1 parent a4f5e3d commit a325d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/ecsserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type EcsServer struct {
}

func NewEcsServer(ctx context.Context, baseCredsProvider aws.CredentialsProvider, config *vault.ProfileConfig, authToken string, port int, lazyLoadBaseCreds bool) (*EcsServer, error) {
listener, err := net.Listen("tcp", fmt.Sprintf("127.0.0.1:%d", port))
listener, err := net.Listen("tcp", fmt.Sprintf("0.0.0.0:%d", port))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a325d69

Please sign in to comment.