Get Server Host and IP


Hi i want to run a process after match inited and want to send ip and port of this node to the process to connect to this node after run
but i cant get ip and port of this node
how to do this?

  1. Versions: Nakama {3.5}, {Windows, Mac, Linux binary or Docker}, {client library (SDK) and version}
  2. Server Framework Runtime language (If relevant) {Go, TS/JS, Lua}
{code or log snippet}

	host := runtime.RUNTIME_CTX_CLIENT_IP
	port := runtime.RUNTIME_CTX_CLIENT_PORT

	// Call the function to send HTTP request with metadata
	if err := SendHTTPRequestToCreateMatch(ctx, logger, "Create", "Rumples", "matchId", host, port); err != nil {
		// Handle error
		logger.Error("Failed to send HTTP request:", err)
		return "", err

<!-- If your code or log snippets are too long consider linking to a repo or gist -->

<!-- If relevant, add images or videos to describe your topic, don't attach images of code or logs use code snippets or share links to a repo or gist -->

:tv: **Media:**

Hello @TheNeSSePa, can you elaborate on what you’re trying to achieve?

I am trying to run a host game for every nakama matchs and for doing this i need match id
Nakama ip, nakama port