본문 바로가기
Development/Network

IP

by dohk325 2018. 12. 18.
반응형

                                                                                                                                                         

                                                                                                                                                                                                                   

                                                                                                                                                         

                                                                                                                                                                                                             

                                                                                                                                                                                                          

IP 주소는 마치 우편 주소와 같이 인터넷에 연결된 컴퓨터나 스마트 폰을 식별하는데 사용되는 고유한 숫자의 집합이다.

비록 IP 주소가 인터넷을 통해 정보를 주고 받는데 필요하지만, 동시에 IP 주소는 사용자가 액세스하려는 모든 웹 사이트에 사용자의 위치 및 방문 기록을 남기기 때문에 성가신 상황이 발생할 수 있다.
 

 

IP Addresses and Ports

Q.
What is Difference between IP address and Port Number in Networking?

A.
Port number is used to identify an application/services which you want to talk to on your system. Some predefined ports like 80 = HTTP server, 23 = Telnet.
 
the port number is the number of specific location or folder where to you want to write your file or any file transfer like: 3308
 
Port is address of the service within the System.
 
The Port number is 16 bits and assigned by the Network operating system when the application process creates the sockets. On the Server side, the port numbers are well defined numbers (HTTP- Port #80, SMTP- Port#25). The port number is transport layer addressing (L4) and goes in the header of TCP/UDP.

and You can identify a host uniquely (globally) by its IP address. 
So if I ever wanted to access your laptop via telnet then I'd use the IP address given to you by your ISP and the port 23.
 
IP address is your system domain name or socket address of specific system like 192.168.0.1
 
IP address is address of the system in the Network.
 
The IP address of your computer (host) is the mix of the network ID of the ISP/any other provider (uniquely provided by the ICANN group) and the host name (provided by the Network administrator).
 
The Network ID is unique for all the network and among two networks, we can have same host names but on the same network, the host names can not be the same. So, this is how the host can be identified on the network and data can be transferred. 

 
So IP address + Port defines address of the particular service on the particular system.
 
 

There can't be 2 applications running on same IP and same Port 
 
A MAC address is a layer-2 address. It is used by some layer-2 protocols, e.g. ethernet and Wi-Fi. There are 48-bit and 64-bit MAC addresses. Some layer-2 protocols use different addressing.
An IP address is the address of the layer-3 IP protocol. Different layer-3 protocols use different addressing, e.g. IPv4, IPX, and IPv6 each have different addressing.
A port number is a layer-4 address used by some layer-4 protocols, e.g. TCP and UDP. Some layer-4 protocols use different addressing, or none at all.

 

 

반응형

'Development > Network' 카테고리의 다른 글

MQTT  (0) 2018.12.18
Linux_인터넷 연결 관련 (ip route)  (0) 2018.12.18
포트포워딩  (0) 2018.12.18
외부에서 내부 IP로 접근하게 하려면  (0) 2018.12.18
시크릿 모드  (0) 2018.12.18