- You have to run proxy server on you machine. Download SquidMan UI app of squid proxy. (Unfortunately this app is MacOS only. For Windows user, try alternative proxy server app)
- Setting up, at
Preferences > Generalset desire port for proxy server toHTTP Port:(default is8080) - Config ip addresses that can access this proxy in
Preferences > Clients- press
New - enter ip and subnet you want ie.
192.168.1.0/24
- press
- Disable localhost apps protection, go to
Preferences > Templatescroll and findhttp_access deny to_localhostand comment the line by adding#in front of it.# protect web apps running on the proxy host from external users # http_access deny to_localhost - Hit
Save - At main window, press
Start Squid
in example I'm using an android phone. iOS settings will be similar.
- Connect to the same wifi as your PC.
Settings > WiFiand long press on connected wifi name, selectManage network settings.- on
Proxysection, selectManual - on
Proxy host name:enter your PC ip address or machine name - on
Proxy port:enter the port you entered in SquidMan (default is8080) - hit
Save. - try to open url of your local server in mobile browser