What this error means?

, ,

Hello everyone, I was integrating the IP of the Amari Callbox Classic into free5GC. I followed the steps outlined in the amfcfg.yaml file. In the ngapIpList section, I entered the IP of Amari as 192.168.50.20, and also added the IP 127.0.1.100. Furthermore, I set the PLMN from 20893 to 00101.

  1. 2023-10-31T15:09:00.714681059Z [ERRO][UPF][Main] UPF Cli Run Error: open Gtp5g: open link: listen: listen udp4 192.168.50.20:2152: bind: cannot assign requested address
    MongoDB shell version v3.6.8
    connecting to: mongodb://127.0.0.1:27017/free5gc
    Implicit session: session { “id” : UUID(“6dee00a8-56e9-4ab0-9473-fe60529f3e28”) }
    MongoDB server version: 3.6.8
    false
    ./run.sh: line 112: mongosh: command not found

  2. 2023-10-31T15:09:01.238742640Z [ERRO][AMF][Ngap] Failed to listen: cannot assign requested address

Kindly help me.

BR
Kumar Satyam

Does the network namespace in which the UPF is running have the IP address 192.168.50.20?
If not, you need to change upfcfg .gtpu.ifList[0].addr to use the correct IP address or simply 0.0.0.0.


Note that “list all the addresses” will not actually work; instead, only the last address would take effect.

Thus, it’s always recommended to set .gtpu.ifList[0].addr to 0.0.0.0.