How can you express native IPv6 addresses in URLs?

What will be an ideal response?


RFC 2732 (originally proposed in 1999) describes a method to express IPv6 addresses in a form compatible with HTTP URLs. Because the colon character (:) is used by most browsers to set off a port number from an IPv4 address, native IPv6 addresses in their ordinary notation would cause problems. This RFC uses another pair of reserved characters, the square brackets ([ and ]), to enclose a literal IPv6 address. The RFC indicates that these square bracket characters are reserved in URLs exclusively for expressing IPv6 addresses. This RFC is now a standard, which means that this syntax represents the official format for expressing IPv6 addresses inside URLs.
Thus, an HTTP service available at port 70 of IPv6 address FEDC:BA98:7654:3210:FEDC:BA98:7654:3210 should be denoted as http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:70/ (in literal form).

Computer Science & Information Technology

You might also like to view...

Which of the following commands do you click to paste Excel worksheet data as an embedded object or a picture?

A. Paste B. Paste Link C. Paste Embedded Object or Picture D. Paste Special

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

If a graphics file is fragmented across areas on a disk, you must recover all the fragments before re-creating the file.

Computer Science & Information Technology

A popular tool used to create network diagrams is __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Assuming that text is a variable of type string, what will be the contents of text after the statement cin >> text; is executed if the user types Hello World! then presses Enter?

a. "H" b. "Hello" c. "Hello World" d. "Hello World!"

Computer Science & Information Technology