hayman.dev LTD logo

Android Proxy Tunnel • Free Visual Studio extension

Real host names.
Local services.

Let your Android Emulator reach the APIs running on your development machine, using the host names your app already calls. No swapping URLs for IP addresses. No editing the emulator's hosts file. No leaving Visual Studio.

  • Host & port mapping
  • Live connection activity
  • No TLS interception

For Visual Studio 2022 & 2026 on Windows.

Android Proxy Tunnel logo: an Android robot surrounded by routing arrows.

Keep the URL. Change the destination.

api.myapp.local.example:443

Android Proxy Tunnel

127.0.0.1:5001

Your local service, with a certificate trusted by the emulator for the requested host name.

Built for local Android development

Stop changing your app just to reach your API

Inside the Android Emulator, localhost means the emulator, not your PC. Replacing a host name with 10.0.2.2 can disrupt host-based routing, cookies and certificate checks.

Android Proxy Tunnel puts the routing in a Visual Studio tool window instead. Map the host name and port your app requests to the local service you want to test, then point the emulator's proxy at it.

This works with clients that honour the emulator's HTTP proxy settings. HTTPS stays encrypted end to end: the extension does not decrypt traffic or bypass certificate validation.

Less network setup. More development.

Your local routing, under control

Map names, not app code

Match a host name and port, then choose the target host and port. Your app can keep requesting port 443 while your local API listens on 5001.

Keep TLS intact

HTTPS travels through a CONNECT tunnel without decryption, modification or re-signing. Your service still needs a valid certificate the emulator trusts.

See what connected

Follow destinations, outcomes, bytes transferred and timings in the activity list. Select a connection to create a mapping without retyping the host name.

Choose what passes through

Unmapped destinations are refused by default. Enable Forward unmapped when you want normal onward access too; this option is only available with a loopback listener.

Configure in one window

Set ports, bind address, timeouts and limits in Proxy Settings. Restart prompts and Reload or Overwrite choices make configuration changes explicit.

Stay in your workspace

A dockable Visual Studio tool window with Dark, Light and High Contrast theme support, plus visible keyboard focus outlines.

See it in Visual Studio

Mappings and settings, side by side with your code

Select a screenshot to enlarge it.

Android Proxy Tunnel tool window with enabled host mappings, match and target ports, and the activity panel.
Define host and port mappings, start the listener and monitor connection activity.
Expanded Proxy Settings showing low-port permission, Forward unmapped, connect timeout and idle timeout.
Settings include descriptions, defaults and valid ranges. The screenshot shows optional settings enabled, not the default configuration.
Deliberate defaults

A development proxy.
Not a TLS interception tool.

The listener binds to 127.0.0.1 by default. Exposing it beyond your workstation requires confirmation and displays a warning.

  • Only mapped destinations are forwarded unless you explicitly enable pass-through.
  • Local target ports below 1024 require an explicit opt-in.
  • Activity records connection metadata, not request or response content.
  • No telemetry. Configuration stays on your machine; proxied traffic goes to the destinations you configure or permit.
Get connected

From install to your first local request

  1. 01 / Install

    Open your new tool window

    Install the free extension, then open View → Android Proxy Tunnel in Visual Studio.

  2. 02 / Map

    Choose your local destination

    Add the host name and Match port your app calls, set the target service address and port, then click Start.

  3. 03 / Connect

    Set the emulator's proxy

    In Extended controls → Settings → Proxy, use a manual proxy of 127.0.0.1:8888 with the default listener. Run your app and watch the activity.

Follow the full setup guide

Keep your URLs. Get back to building.

Bring local Android networking into Visual Studio, with host mapping you can see and control.

Also developing on Android? Explore Android Emulator File Browser.