Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Port 80 blocked on my ISP so how my browser still works?

Tags:

browser

tcp

ip

dns

I know that when I request example.com my browser actually deafults to example.com:80 . However my ISP block the 80 port from listening so HOW do I receive the responses from my requests if the port 80 is blocked? It should not work, isnt?

like image 517
Samul Avatar asked Dec 16 '22 03:12

Samul


1 Answers

When you make an HTTP request (in fact, any TCP request), there are two ports involved. There is port 80 on the destination (in your case, "example.com"), and there is a port on your computer; this port is called the "source port" since your computer is the source of the request.

Typically, your computer will pick a random port number over 1,000 (for example, 3,135 or 45,978), since low-numbered ports are easily remembered (and blocked) and are typically used for hosting services (such as a web site on port 80). Because the source port is created by your computer for the purpose of talking to example.com on port 80, it won't be open very long (just long enough to do its job). These are sometimes called "ephemeral ports"; see http://en.wikipedia.org/wiki/Ephemeral_port

like image 197
Douglas Manley Avatar answered Feb 13 '23 18:02

Douglas Manley