Ben hace 1 año
padre
commit
76fb70cebd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cmd/slave.go

+ 1 - 1
cmd/slave.go

@@ -43,7 +43,7 @@ func main() {
 	for true {
 		// send request
 		reader := bytes.NewBuffer(body)
-		resp, err := http.Post("http://localhost:8080/register", "application/json", reader)
+		resp, err := http.Post("http://16.163.94.96:8080/register", "application/json", reader)
 		if err != nil {
 			log.Printf("err: %+v", err)
 			continue