Skip to content

Commit 4c75ef2

Browse files
committed
change bind address
1 parent 2423fc8 commit 4c75ef2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/apiserver/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func main() {
3232

3333
router := api.New(api.Config{DB: db})
3434

35-
bindAddr := fmt.Sprintf("%s:%d", "127.0.0.1", 8080)
35+
bindAddr := fmt.Sprintf("%s:%d", "10.255.240.1", 80)
3636
fmt.Println("running @", bindAddr)
3737
fmt.Println(http.ListenAndServe(bindAddr, router))
3838
}

cmd/gateway-agent/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ func main() {
6161
if err != nil {
6262
log.Error(err)
6363
// inc metric
64+
continue
6465
}
6566

6667
fmt.Printf("%+v\n", peers)

0 commit comments

Comments
 (0)