Change sentry default Ip Address

I install self host sentry by docker. In my flutter Application by using runZonedGuarded:

void main() => runZonedGuarded(() async {
      await SentryFlutter.init(
        (options) {
          options.dsn =
          options.debug = true;
        appRunner: () => runApp(MyApp()),
    }, (exception, StackTrace stackTrace) async {
      await Sentry.captureException(
        stackTrace: stackTrace,

I am trying to report exception on Android emulator but i got: Failed to connect to /

How can i change on sentry ?It is possible to change from dashboard? on an emulator is the loopback interface of the device. That would only work if Sentry was running in there.

If you want to test against you own hosted version of Sentry you need your local network address (usually 10.x.x.x, 172.16.x.x or 192.168.x.x) or a proxy such a ngrok so that the emulator can reach the server.