Skip to content

Commit

Permalink
fix: updated tcp listener (#174)
Browse files Browse the repository at this point in the history
Signed-off-by: James-Milligan <[email protected]>

Signed-off-by: James-Milligan <[email protected]>
  • Loading branch information
james-milligan authored Sep 27, 2022
1 parent 6660835 commit b750ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/connect_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (s *ConnectService) setupServer() (net.Listener, error) {
if s.ConnectServiceConfiguration.ServerSocketPath != "" {
lis, err = net.Listen("unix", s.ConnectServiceConfiguration.ServerSocketPath)
} else {
address := net.JoinHostPort("localhost", fmt.Sprintf("%d", s.ConnectServiceConfiguration.Port))
address := fmt.Sprintf(":%d", s.ConnectServiceConfiguration.Port)
lis, err = net.Listen("tcp", address)
}
if err != nil {
Expand Down

0 comments on commit b750ed1

Please sign in to comment.