dimanche 29 mars 2015

Modify a http request



In my host file, is have a url pointing to localhost which goes to my java program. This works fine when my program is on port 80 but nothing else. I would like it to run on different ports.


Say I want it to run on port 5, I know I have to proxy the program that's requesting the url and change url:80 to url:5. I just don't know to do it or find an open sourced proxy that does this.


The 'requester' is vlc so I can't change the url it requests. Ex: I open xyz.com in vlc then vlc sees the url I need to change the port for (not xyz.com).


Any suggestions?




Aucun commentaire:

Enregistrer un commentaire