fixed: listning only to local server connections

This commit is contained in:
Bezalel
2018-08-01 01:29:39 +03:00
parent b46f708726
commit 02dde77daa
3 changed files with 10 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ func main() {
os.Exit(1)
}
url := "http://localhost:" + *wsPort + "/"
url := "http://0.0.0.0:" + *wsPort + "/"
if *tcpPort != "" && *wsPort != "" {
logger.Infof("running two listeners: tcp port: %s, ws url: %s", *tcpPort, url)