바인딩 주소 변경

This commit is contained in:
2023-05-23 16:30:23 +09:00
parent 566a4067ab
commit 11ea571b6e

View File

@ -123,7 +123,7 @@ type houstonServer struct {
}
func (hs *houstonServer) Start(port int) error {
lis, err := net.Listen("tcp", fmt.Sprintf("localhost:%d", port))
lis, err := net.Listen("tcp", fmt.Sprintf("0.0.0.0:%d", port))
if err != nil {
return err
}