Skip to content

URIs and URLs

Resources on the internet are identified by URIs.

URI

Uniform Resource Identifier - a globally unique text string identifying a resource.

The most important kind of internet URI is the URL.

URL

Uniform Resource Locator - a URI which also specifies how to locate and retrieve a resource.

In other words, a URL is a subset of the URI, which specifies where a resource is and the mechanism for retrieving it.

URL Examples

URLs typically specify an application protocol, followed by a hostname and a path to the resource on that host.

http://www.example.com/content/somepage.html

html url

Login and port information can be included.

ftp://user2:mypass@ftp.example.com/pub/somefile.txt

ftp url

rtsp://media.example.com:88/videos/somevideo.avi

rtsp url

port

An endpoint on a server in a network. Clients connect to ports. Ports are numbered 0 - 65535.


Skill++

Another acronym in this conversation is URN, "Uniform Resource Name." URN's must be unique, and be unique forever.


Prev -- Up -- Next