Getting Stuck at configuring ip and announced ip in webrtctransport options

how should I configure ip and announced ip for the webrtctransport options.
I am building with Node and hoisting in railway.app platform

ip is the address of the network interface the mediasoup worker listens on. announcedIp is a corresponding public address that the server uses in its ICE candidates given to the clients. announcedIp may differ from ip if the latter is 0.0.0.0 (which means listen on all interfaces), or ip is a private address behind NAT.

If I am assigning ip as 0.0.0.0 how to determining the announcedIp and if i am assigning announvedIpas 127.0.0 it is not solving the purpose.