URI ports

URI (Uniform Resources Identifier) it is a sequence of characters and used to identify a resource. This identifier is used over World Wide Web with a specific protocol that is HTTP (hyper text transfer protocol). The port number for the http is 80 and this port number is by default port number. We can change this port number in settings. It specifies that the path is handled transparently by handle URLs. The path is passed by the client to the server with any request, but it is not in readable form for the client. The string starts with the slash which follows the host details. However, when an HTTP server is being used as a proxy server then the entire URI pass the information on the http command line. Spaces and control characters in URLs used for transmission in HTTP.  URI is defined as any character string that identifies a resource. A URL is defined as those URIs that identify a resource by its location or by the means used to access it, rather than by a name or other attribute of the resource.

A new form of resource identifier, the IRI (Internationalized Resource Identifier), permits the use of characters and formats that are suitable for all languages other than English. An IRI can be used in place of a URI or URL.

 

PORTS

     0 -1023               system ports

    1024 – 49151        for users or registered ports                                                                                                                        

                                                                                                                                                 URI, URL, telnet, gopher,ftp,https scheme

URI (Uniform Resource Identifier) is the combination of Uniform resource locator and uniform resource name. In URL as the name indicates at the end identifier it simply identifies the resources that are text files and all.

URL (Uniform Resource Locator) is a subset of URI that contains a network location. URL (Uniform Resource Locator) is a specific type of URI (Universal Resource Identifier). A URL normally locates an existing resource on the Internet. It is used when a client makes a request to the server.URL simply used to fetch resource information from its location and always start with the protocol that is “http” and hold all information about network host name that can be “anything.com” and about the document path “page name .html”.

Example

http:// anything.com/ page name.html/

Main components of URL  :

  1. A scheme -> it identifies the protocols that are used to access the resources when we use the internet and these resources are http, https etc.
  1. A host -> The host name identifies the host that holds the resource. For example, www.antthing.com. The server provides services in the name of the host, but host and server do not have a one-to-one mapping. The host can be followed by its port number.
  1. A path -> Path simply identify the path of page or the resource, for example, the .html page it is a path for  URL.
  1. A query string -> when a query string is used then it provides all information about the string and the resources.

 

The scheme and host components of a URL are not defined as case-sensitive, but the path and query string are case-sensitive.

  • The scheme is written by a colon and two slashes i.e //
  • If a port number is mentioned, that number follows the host name, separated by a colon e.g ;
  • The path name starts with single slash i.e /
  • If a query string is present, it is preceded by a question mark.

 Syntax of an HTTP URL                                                  

----http://-------host name------/path component-------ip address---:port---? Query string----

 

                                                                                                                     Application layer drawing

Other ports

Http is a server resource for the URI and there are a number of ports which are used for different protocols.

  • Port 80        For http
  • Port 443      For https
  • Port 21        For ftp
  • Port 69        For tftp
  • Port 22        For sftp
  • Port 22        For ssh
  • Port 22        For svn +ssh
  • Port 23        For telnet
  • Port 119      For hhtp
  • Port 70        For gopher

Http: its port number is 80. It specifies that the path is handled transparently by handle URLs. The path is passed by the client to the server with any request, but it is not in readable form for the client. The string starts with the slash which follows the host details. However, when an HTTP server is being used as a proxy server then the entire URI pass the information on the http command line.. Spaces and control characters in URLs used for transmission in HTTP.

Gopher: Gopher port number is 70 and it is also a URL and it contains the host name and port number where the client should be connected. It is written by a slash.

Telenet:- Its port number is 23and used to connect remotely to the server. It allows establishing a remote session on the server. It provides very little security.

FTP:-File Transfer Protocol is used for transfer the all files through a web server. More secured because of user authentication and user login and uses two types of connections FTP uses TCP i.e 20 port number for data connection and 21 for the control connection.

 

The Internet uses IP address, the Internet Protocol responsible to get a small packet of data from one computer to another. On top, we have a protocol like HTTP or FTP, which specifies what format should be used to make the data we send via TCP (or UDP, etc.) understandable and meaningful.

Port registered with IANA is  known as official port
Port not registered with IANA is  known as unofficial

  • Telnet          port - 23(Official)
  • FTP             port - 20(Data Tx), 21(Command), 22(SSH, Secured file Transfers and port forwarding)
  • HTTP          port - 80(Official)

 

About The Author: Hi! I am Neelam Y. I am passionate about research and technology. Whether it is website designing/development, content writing or internet marketing; I have a solid track record of delivering utmost satisfaction to my clients.