How to set up proxy server?


I’m trying to set up a man-in-the-middle proxy server in a workspace that I can access from wherever on my phone, I have it up and running on port 8081 but when I try to access it on my phone (using as hostname/ip and 8081 as port) and it doesn’t seem to be working. I’ve also tried the ip address I get when running “wget -qO -”, and the resolved ip of the address, but that doesn’t work either.