URL은 "Uniform Resource Locator"의 약자로, 인터넷 상의 자원(웹 페이지, 이미지, 동영상 등)의 주소를 나타냅니다.
이는 인터넷 상의 모든 파일이 서로 다른 주소를 가지고 있어야 한다는 필요성에서 나온 개념입니다. 이러한 주소 체계를 통해 특정 자원의 위치를 정확하게 지정할 수 있습니다.
What is a URL?
Imagine all files on the Internet are located in a megalopolis, each of them lucky to be living in their own home.
Given the scale of the Internet, in the resulting settlement, there will be an unimaginable number of blocks and streets.
For example, you have an interesting article that you want to share with your friend who lives in one of the houses in the megalopolis.
How do you explain where exactly to find the article?
That's right, you need to come up with a single standard by which you could name all the addresses in the city, and then give your friend the street name and house number, just like in a real city!
All documents <> have a personal address. For example, the URL of the JetBrains website looks like this:
https://www.jetbrains.com/
Web pages, images, videos, and other documents <<that can be stored on your computer>> also have addresses.
That standard is called a URL, which stands for Uniform Resource Locator. It represents the standardized way of recording file addresses on the Internet.(포인터같은 역할)
The standard has one specific feature: not all characters can be used in URLs. The list of allowed characters includes:
Latin alphabet (or English alphabet symbols);
An Internationalized Resource Identifier (IRI), a form of URL that includes Unicode characters;
Numbers;
Reserved characters with special meaning !#$&'()*+,/:;=?@[];
Unreserved characters: -_.~.
Here is an example of a URL address:
basic URL structure
URL address has a certain structure based on the following template:
://:@:
*여기부터 상대경로
/
URL은 특정한 구조를 가지고 있으며, 다음과 같은 주요 구성 요소로 이루어져 있습니다.
: 데이터 교환 방법을 나타냅니다. 주로 사용되는 스키마로는 http와 https가 있습니다.
과 : 필요한 경우 일부 프로토콜에 대한 인증 데이터를 전송합니다.
: 사이트가 위치한 도메인 이름 또는 IP 주소입니다.
: 특정 호스트 내에서의 연결에 필요한 포트 번호입니다. 기본적으로 HTTP 연결의 공식 기본 포트는 80이고, HTTPS는 443입니다.
: 서버로 전송되는 매개변수를 나타냅니다. 이를 통해 웹 페이지의 표시가 약간 변경될 수 있습니다.
: 웹 페이지 또는 문서의 특정 부분에 연결할 수 있습니다.
이러한 구조를 가진 URL은 대부분의 웹 페이지 및 문서에 접근할 때 사용됩니다. 특히 웹 브라우저를 통해 특정 페이지를 방문하려는 경우 :// 형태로 URL이 단순화됩니다.
또한 URL은 절대 URL과 상대 URL로 구분됩니다.
절대 URL은 전체 주소를 나타내며,
상대 URL은 동일한 사이트 내에서만 작동하는 주소로,
상대 URL은 주소가 짧고, 사이트 이전에도 동작하며, 브라우저에서 빠르게 검색할 수 있는 장점이 있습니다.
이를 통해 얻은 핵심 내용은 다음과 같습니다.
URL은 인터넷 상의 자원을 나타내는 주소체계이다.
URL은 여러 부분으로 구성되어 있으며, 일부는 선택적으로 사용된다.
절대 URL을 사용하여 자원을 검색하고, 상대 경로를 사용하여 해당 자원을 브라우징할 수 있다.
이러한 URL의 이해는 웹 개발 및 인터넷 활동에서 중요한 역할을 합니다.
incorrect
https://www.123t,omato.com
https://www.l-i+mon.org
Determine the port
Given the following URL:
https://freenews.org/world
What port is used here by default? Enter a port number in the answer field.
주어진 URL인 https://freenews.org/world에서 포트 번호가 명시되어 있지 않은 경우, HTTPS의 기본 포트인 443이 사용됩니다. HTTPS의 경우 기본적으로 443 포트를 사용하며, 대부분의 브라우저는 포트 번호를 생략할 때 이를 기본값으로 간주합니다.
vs
URL에서 명시적으로 포트 번호가 지정되어 있다면 해당 포트 번호가 사용됩니다. 일반적으로 HTTPS의 기본 포트는 443이지만, 사용자가 다른 포트를 지정하면 해당 포트가 사용됩니다.
예를 들어, https://freenews.org:356/world와 같이 URL에 포트 번호가 포함되어 있다면, 브라우저는 356번 포트를 사용하여 서버에 연결하게 됩니다.
and
these prefixes transmit authentication data for some protocols, if necessary
A domain
What is a domain? : The name of a site, its address in the global network
Q. port와 Host의 차이? host의 port /이런건가??
하나의 host가 여러개의 port 사용해서 다른 프로그램들 동시에 실행할 수 있으니까
ㅇㅇㅇ 이름 vs port 실제 출구번호