Skip to content
Snippets Groups Projects
Unverified Commit 83fc6010 authored by Wolfgang Welz's avatar Wolfgang Welz Committed by GitHub
Browse files

Use local bind on default (#177)

parent 83d12c1a
Branches
Tags
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"port": 14626 "port": 14626
}, },
"dashboard": { "dashboard": {
"bindAddress": "0.0.0.0:8081" "bindAddress": "127.0.0.1:8081"
}, },
"database": { "database": {
"directory": "mainnetdb" "directory": "mainnetdb"
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"port": 14666 "port": 14666
}, },
"graph": { "graph": {
"bindAddress": "127.0.0.1:8083", "bindAddress": "127.0.0.1:8082",
"domain": "", "domain": "",
"networkName": "GoShimmer", "networkName": "GoShimmer",
"socketIOPath": "socket.io-client/dist/socket.io.js", "socketIOPath": "socket.io-client/dist/socket.io.js",
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
"privateKey": "", "privateKey": "",
"username": "goshimmer" "username": "goshimmer"
}, },
"bindAddress": "0.0.0.0:8080" "bindAddress": "127.0.0.1:8080"
}, },
"zeromq": { "zeromq": {
"port": 5556 "port": 5556
......
...@@ -9,5 +9,5 @@ const ( ...@@ -9,5 +9,5 @@ const (
) )
func init() { func init() {
flag.String(CFG_BIND_ADDRESS, "0.0.0.0:8081", "the bind address for the dashboard") flag.String(CFG_BIND_ADDRESS, "127.0.0.1:8081", "the bind address for the dashboard")
} }
...@@ -17,6 +17,6 @@ func init() { ...@@ -17,6 +17,6 @@ func init() {
flag.String(CFG_WEBROOT, "IOTAtangle/webroot", "Path to IOTA Tangle Visualiser webroot files") flag.String(CFG_WEBROOT, "IOTAtangle/webroot", "Path to IOTA Tangle Visualiser webroot files")
flag.String(CFG_SOCKET_IO, "socket.io-client/dist/socket.io.js", "Path to socket.io.js") flag.String(CFG_SOCKET_IO, "socket.io-client/dist/socket.io.js", "Path to socket.io.js")
flag.String(CFG_DOMAIN, "", "Set the domain on which IOTA Tangle Visualiser is served") flag.String(CFG_DOMAIN, "", "Set the domain on which IOTA Tangle Visualiser is served")
flag.String(CFG_BIND_ADDRESS, "127.0.0.1:8083", "the bind address for the IOTA Tangle Visualizer") flag.String(CFG_BIND_ADDRESS, "127.0.0.1:8082", "the bind address for the IOTA Tangle Visualizer")
flag.String(CFG_NETWORK, cli.AppName, "Name of the network shown in IOTA Tangle Visualiser") flag.String(CFG_NETWORK, cli.AppName, "Name of the network shown in IOTA Tangle Visualiser")
} }
...@@ -9,5 +9,5 @@ const ( ...@@ -9,5 +9,5 @@ const (
) )
func init() { func init() {
flag.String(BIND_ADDRESS, "0.0.0.0:8080", "the bind address for the web API") flag.String(BIND_ADDRESS, "127.0.0.1:8080", "the bind address for the web API")
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment