DEV Community

Cover image for How a request originates from cllient and reaches the server ?
Anjana R.K.
Anjana R.K.

Posted on

How a request originates from cllient and reaches the server ?

Hi everyone!
There lets understand How a request originates from cllient and reaches the server?
What a Client is?
Client is the use who sends the request.
Then what's server?
Server sends back response to the request that is send by the client.

How it works ?

For Example ,you are opening a website.

  1. when you open the website ,you are sending request to the server.

2.the request is send through DNS which find IP address for the wesite .
Example : www.wikepedia.org.

3.Now you can reach the correct location using the IP address,then the connection is established using http.

4.the request reaches the server,then server process the request and sends response back with data.

Thank you!

Top comments (0)