Why a hotel is analogous to a network resource.

It’s a hotel! The IP address is the street address of the resource and the ports are the individual rooms you go to ask for specific resources. If you go to a website the following analogy plays out: