Skip to content

Instantly share code, notes, and snippets.

@boldfacedesign
Last active December 27, 2015 14:19
Show Gist options
  • Save boldfacedesign/7339612 to your computer and use it in GitHub Desktop.
Save boldfacedesign/7339612 to your computer and use it in GitHub Desktop.
Make IIS/IISExpress accept remote connections
Open Command Line prompt in administrator mode:
Type:
netsh http add urlacl url=http://machine_name:port_number/ user=everyone
where 'machine_name' is you machine(hostname) - to find this open command propmt and type 'hostname'
and 'port_number' is your project port binding.
Then type:
netsh firewall add portopening TCP port_number IISExpress enable ALL
again 'port_number' should be replaced with you port binding.
Then using Fiddler, go to 'Tools -> Fiddler Options -> Connections' and check 'Allow remote computers to connect'
On you remote device connect to internal(private) Wifi and add in proxy settings:
Proxy: your ip address e.g. '192.168.X.XXX'
Port: '8888' -> Fiddler listens on 8888 unless you changed this in the Fiddler options.
Open you browser on your mobile device and type 'localhost:8026'
Again, replace '8026' with you port binding number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment