For class, I have to write a basic proxy server in C.
I need to test it with firefox, and I’m not sure how to do that.
Say I have the server listening on port X– how do I make firefox (on the same computer) send its requests there?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set the proxy that Firefox uses in the Advanced > Network > Connection dialogue. You will almost certainly want to set your proxy (host localhost, port X) as an HTTP proxy. (The first box, labelled “HTTP proxy”, takes the hostname, the second, labelled “port”, the port.)