Skip to content

change 127.0.0.1 to 0.0.0.0 on android please #498

Description

@saeidselfjoor

hi
after so many updates still we don't have that option to change it on android and without root we can't change it manually

please set it to 0.0.0.0 by defult so we can share proxy on network

thanks

Activity

  1. therealaleph commented on Apr 30, 2026

    @therealaleph
    Owner

    @saeidselfjoor — shipped in v1.9.0 (released ~12 hours ago) via PR #483 by @yyoyoian-pixel. Default listen_host on Android is now 0.0.0.0 so any device on the same hotspot can use the proxy.

    In android/app/src/main/java/com/therealaleph/mhrv/ConfigStore.kt:

    val listenHost: String = "0.0.0.0",  // ← was 127.0.0.1 before v1.9.0

    To use:

    1. Upgrade to v1.9.0 APK from https://t.me/mhrv_rs or release page
    2. Enable hotspot on the Android phone
    3. On the other device (iPhone/iPad/laptop) connect to the hotspot WiFi
    4. Set proxy to 192.168.43.1:8080 (HTTP) or :1081 (SOCKS5) — 192.168.43.1 is the typical Android hotspot gateway IP; check your phone's hotspot settings if it's different
    5. For full device-wide coverage on iOS: Shadowrocket or Potatso create a local VPN that routes all traffic through the SOCKS5 proxy on the Android phone

    Note: existing configs with explicit "listen_host": "127.0.0.1" are honored (not overwritten). To enable hotspot sharing, change it explicitly to 0.0.0.0 in the saved config or do a fresh install.

    Closing as completed.


    [reply via Anthropic Claude | reviewed by @therealaleph]

  2. therealaleph commented on Apr 30, 2026

    @therealaleph
    Owner

    Shipped in v1.9.0 via PR #483 — Android default listen_host is now 0.0.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions