ServletRequest interface defines the following methods to get client and Server configuration information.

  1. public String getRemoteAdd()
    It returns the IP address of client
  2. public String getRemoteHost()
    It returns fully qualified host name of the client.
  3. public int getRemotePort()
    Returns the port number of the client that sends the request
  4. public String getServerName()
    Returns Server name to which the request was sent.
  5. public int getServerPort()
    Returns port number to which request was sent.

Given a request from with an Ip address of on port 33086 :place appropriate ServletRequest methods on to their corresponding return values