Last active
December 27, 2015 14:19
-
-
Save boldfacedesign/7339612 to your computer and use it in GitHub Desktop.
Make IIS/IISExpress accept remote connections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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