When two entities communicate with each other they essentially exchange information. In order to make this happen, each entity must be clear as to where to send the information. From the programmer's point of view, each entity involved in the communication must have a clear endpoint. This recipe will teach you what an endpoint is and will show, on the command line, how to identify them.Â
Learning what a communication endpoint isÂ
How to do it...
In this section, we'll be using the netstat command-line utility to inspect and learn what an endpoint is:
- With the Docker image running, open a shell, type the following command, and press Enter:
b07d3ef41346:/# telnet amazon.com 443
- Open a second shell and...