QuackatronHQ / Gigarepo

Bind to all interfaces GSC-G102
Security
Major
5 days ago2 years old
Binds to all network interfaces
13)
14
15func SrvListen() {
16	nl, err := net.Listen("tcp", "0.0.0.0:8989")17	if err != nil {
18		log.Fatal(err)
19	}
Binds to all network interfaces
13)
14
15func SrvListen() {
16	nl, err := net.Listen("tcp", "0.0.0.0:8989")17	if err != nil {
18		log.Fatal(err)
19	}