Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is proxy server setting and how to implement through using java coding explain detaily with code?

0
Posted

What is proxy server setting and how to implement through using java coding explain detaily with code?

0

A “firewall” is a device that prevents traffic on certain ports (or any ports) from going through. One such port is 80 which commonly serves HTTP, and another is 443, which commonly serves HTTPS. A “proxy” is a computer / server that the network admins give special privileges to access port 80 and 443 (and maybe others) outside of the firewall. You should not need to use the proxy if the website you want to connect to is inside your firewall (at your company) – doing so probably won’t work. In order to use a proxy in Java, you need to know two things. The proxy host name, and the proxy port number. The port number is where the proxy host will listen for new connections, NOT 80/443. If you are using both HTTP and HTTPS, you will need to know the proxy port for each (they may be the same). Your network admins can tell you this information, I cannot. Once you know the name and port number, you don’t actually need to make any code changes. You just need to add parameters when you run java.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123