What is proxy server and how it works

What is proxy server

A proxy server is a server with a defensive layer. Its main job is to open the block website and protect the web server from cyber attacks In other words, a proxy server is a terminal that provides a gateway between users and the Internet. Therefore, it helps to prevent cyber attackers from entering a private network.

proxy server

 Like every web server, this proxy server also has its own Internet Protocol ie some unique IP address which gives an advanced level of security to it  It acts as a server that is called an "intermediary" because it moves between end users and the web pages they visit online.

How it works

The proxy server acts as a protective layer between the user and the web server. Its main job is to open the block website and protect the web server from cyber attacks.

When you use many such websites on the browser which are not open or they are already blocked, which you can open or run by using proxy server also, the proxy server is also very good in terms of security purpose, which protects your data and web server from cyber attacks.

Like every server, the proxy server has its own IP address, from which it is known from which computer or location the request is coming or who is attacking from where. In this, the IP address has the most important role.


Wh hat is proxy server for Wi-Fi

When you connect multiple computers or laptops or mobiles to a Wi-Fi network, in that case the main computer with the Wi-Fi connection acts as a proxy server or gateway through which other computers connect to the Internet and these All computers or laptops have their own separate IP address.

 IP address is something like the address of our and your home, from which we know where our house is and at which location, in the same way the computer is identified by the IP address, which computer is where and at which place.

What is proxy server in java

HTTP Proxy Server in java.

There are some advantages of proxy servers, which I am telling in some points below.

  1.  We may use proxy servers to control download and upload limits.
  2.  We can open block websites with the help of proxy server.
  3.  We can protect our data from security and cyber attacks with the help of proxy servers.
  4.  We can analyze trouble network system reaction with proxy server.
  5. With proxy server we can generate statistics about traffic.
  6. We can use proxy server to capture the traffic between server and client.
  7. With a proxy server, we can update the content of the client.


By the way, Java supports proxy handlers for various protocols, for example, HTTPS, FTP, HTTP etc. ProxyHost and ProxyPort are used for an HTTP proxy server in Java.

HTTP -Request

These rules are followed when a client tries to load a webpage. -Create an HTTP connection to this URL. - Echo the GET request of the client to the remote server. - Send the server's response back to the client server or computer. Save a local data copy of the file in the proxy's cache.

HTTPS -Request

HTTPS connections use Secure Sockets (SSL). You can also see it as green color with the website URL. The data transferred between the client and the server is encrypted. It is widely used in the financial sector to ensure secure transactions.
 

However at first glance this is a problem for the proxy server: how does the proxy know what to do with this encrypted data coming in from the client?

To overcome this problem, initially, another type of HTTP request is made by the client. This request is standard HTTP and is unencrypted and it knows with whom the client wants to make an HTTPS connection and can be routed through a proxy. This is a process known as HTTP Connect Tunneling.

It works like this. Let's say the client issues a connect request and then the proxy extracts the destination URL. -Proxy Creates a standard socket connection to the remote server specified by the URL -If this connection is successful, the proxy sends a '200 Connection Established' response to the client indicating that the client is no longer able to or will transmit encrypted data to the proxy can start work.

 -The proxy then simultaneously forwards any data sent from the client to the remote server, and the data received from the remote server back to the client.

No comments:

Please don't write any spam text or message

Vuejs3 tutorial

 Introduction of Vuejs3 Vuejs  is a JavaScript libraray and a Progressive js-framework or you can a modeil view controller framework for bui...

Powered by Blogger.