바인딩 주소 변경
This commit is contained in:
@ -123,7 +123,7 @@ type houstonServer struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (hs *houstonServer) Start(port int) error {
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user