Golang to Node.js Http request

Hi I’m sending request from Golang to another node.js server here is my code.

	response, err := http.Post("http://127.0.0.1:5051/hello_world", "application/json", bytes.NewBuffer(nil))
	if err == nil {
		data, _ := ioutil.ReadAll(response.Body)
		logger.Info(string(data))
	}else{
		logger.Info("" ,err)

	}

Note: when i send request from simple golang project/Postman/Browser its working fine.
But when i working from Nakama golang project its give an error

**Error: ** EXTRA *url.Error=Post "http://127.0.0.1:5051/hello_world\": dial tcp 127.0.0.1:5051: connect: connection refused

Probably you’re using dockers and 127.0.0.1 means current docker container and not the host with exposed port from the second container. Try to use docker networks or change IP for testing purpose to your computer external IP (not public IP, but the one assigned to you WIFI card or ethernet port).

Thanks its work.
Also i want to know how i can establish a connect with mongoDB with in nakama golang
when i do its give
Error: Plugin is build in different version

Hello @KGS, please have a look at our dependency pinning guide.