mirror of https://github.com/schollz/croc.git
need to listen on all ports
This commit is contained in:
parent
5d9afe03ef
commit
49f50a53d5
|
@ -109,6 +109,7 @@ func (s *server) run() (err error) {
|
|||
}
|
||||
}
|
||||
}
|
||||
addr = strings.Replace(addr, "127.0.0.1", "0.0.0.0", 1)
|
||||
log.Infof("starting TCP server on " + addr)
|
||||
server, err := net.Listen(network, addr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue