I am trying to link a website to a particular opened port. However, using both netstat and lsof, I found that when I open a single website on firefox (say facebook), there are multiple process and ports opened.I don't understand why a single website open multiple processes and ports? Should it not be that one application associates with one single process and port number? Could anyone please suggest me, how is it possible to identify a website using the process id and port used ? As mentioned above, I have tried netstat and lsof, which gives multiple process id and port number which makes it hard to uniquely identify the website.
Thank you