An endpoint is the final address of a service defined by:
In the web, the endpoint is commonly referred as the host but in the network community, a host is just a server.
Example Javascript:
console.log("The endpoint is: "+window.parent.location.host);
In network, this is a socket known also the bind address.
Example in Java:
SocketAddress bindAddress = SocketAddress.inetSocketAddress(4043, "localhost");
The endpoint is defined:
And if you add the TCP or UDP protocol, you defines a socket.