using your android phone as a proxy server I wanted to use my android phone as a proxy server, meaning that I wanted to be able to use the IP on the phone as a proxy, so all request and response are received on the phone and forwarded back to the original requestor. How do I do this?
If you're just interested in setting a proxy up over your Wifi, you can do that with Servers Ultimate quite easily, but I don't know why anyone would really want to do that. A much more useful option is to use mobile data, but as @Kevin said you're going to hit a lot of headaches, namely at the ISP level (Verizon, AT&amp;T, etc). Chances are you won't get them to change their NAT policy for you.

It's hard to use your mobile data as a proxy because all incoming connections are blocked. But, if you have a laptop connected to wifi, and your phone connected to your laptop via adb, one option is to run a command like this:

adb forward tcp:6400 tcp:8080


This command forwards all TCP connections sent to your host (laptop)'s 6400 port to your phone's 8080 port. Next, set up a proxy server on your Servers Ultimate App running on port 8080. No root required!

Now, any requests to your laptop over port 6400 will be forwarded to your mobile data! Test this by opening firefox, going to settings, Networks, and using 127.0.0.1 and port 6400 as a proxy. You can open your router up to access over public wifi using this port, although I recommend setting up some kind of security policy. 

There are tons of tutorials for enabling developer options and adb on your laptop, it's easy.