URL Explained (Youtube Channel : Natural Programmer)
Content covered: 

In this Video, URL (Uniform Resource Locator) is explained. What it is? Why it is used and what URL is made up of? 

More Less
meet meet 10 Mar 2016 02:17 am

i have one doubt...

i know http works on the port 80..then if in my pc there are two services running on http protocol at the same time then how it is possible bcz one port is assign for only one services??

Pritam Prasun pritam 10 Mar 2016 10:51 am

I believe, post 80 is DEFAULT port for TCP. However, TCP can also use other port numbers specifically assigned.

Now let's assume a situation where you are using two browsers simultaneously.
There are 2 ports: a source port (browser) and a destination port (server). The browser asks the OS for an available source port (let's say it receives 33123) then makes a socket connection to the destination port (usually 80/HTTP, 443/HTTPS).

Please go through the following thread: http://stackoverflow.com/questions/13190176/how-does-port-number-really-...