- you're running free5GC using docker-compose: https://github.com/free5gc/free5gc-compose
- you'd like to connect a gNodeB via network, but the free5GC host is not listening on NGAP/sctp
Add the following to the free5gc-amf section in docker-compose.yaml:
ports:
- "38412:38412/sctp"
So that the section looks like this: