I have a HTTP proxy server running on port 127.0.0.1:8888. I need to redirect a HTTP client binding to 127.0.0.1:8080 to be forwarded to 127.0.0.1:8888.
I tried using netsh.exe utility in Windows. I have DHCP client service running in my windows 7.
netsh interface portproxy add v4tov4 listenport=8080 listenaddress=127.0.0.1 connectport=8888 connectaddress=127.0.0.1
The command was successfully executed. However the proxy server never receives any request. Is it not possible to forward local ports? Or my understanding is wrong.