http://example.com/index.html
, which means you will connect to and communicate with the host named example.com.http://example.com/index.html
URL, that URL specifies a scheme called "HTTP" which tells the client that it should try TCP port number 80 on the server by default. The URL can optionally provide another, custom, port number but if nothing special is specified, it will use the default port for the scheme used in the URL.