For example, I can start an application on port localhost:8080 and if I go to the browser I can see my application. I understand that it is like a communication endpoint but no more.
Can someone explain to me in a simple way how a port works?
For example, what happens when I open Chrome, is it using ports?