added default ip address as 0.0.0.0
This commit is contained in:
2
main.go
2
main.go
@@ -15,7 +15,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
addr := flag.String("addr", "localhost", "Listen address")
|
addr := flag.String("addr", "0.0.0.0", "Listen address")
|
||||||
port := flag.String("port", "8888", "port for running the server")
|
port := flag.String("port", "8888", "port for running the server")
|
||||||
tls := flag.Bool("tls", false, "Use TLS")
|
tls := flag.Bool("tls", false, "Use TLS")
|
||||||
setconfig := flag.Bool("setconfig", false, "Generates a config file")
|
setconfig := flag.Bool("setconfig", false, "Generates a config file")
|
||||||
|
|||||||
Reference in New Issue
Block a user