- 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 > General
set 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 > Template
scroll and findhttp_access deny to_localhost
and 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 > WiFi
and long press on connected wifi name, selectManage network settings
.- on
Proxy
section, 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