포트번호
-
특정 컴퓨터 접속 후 메세지 전달 (+ 사용중인 포트번호,taskkill, 서버 접속)JAVA/Network 2024. 6. 21. 11:05
▤ 목차" data-ke-type="html">HTML 삽입미리보기할 수 없는 소스 ✔사용중인 포트번호 확인방법포트(port)란 논리적인 접속 장소를 의미한다.( 직역하면 '항구'라는 의미)인터넷 프로토콜인 tcp(4계층)/ip(3계층)를 사용할 때 클라이언트 프로그램이 네트워크 상에서 특정 서버 프로그램을 지정하는 방법을 사용한다. 운영 체제 통신에서 종단점이다.네트워크 상에서 통신을 할때 IP주소를 바탕으로 해당 서버가 있는 컴퓨터에 접근하게 된다. 데이터가 받을 프로세스(process)가 어떤 것인지 알아야 데이터가 제대로 전송이 될 것이다. 이때 사용하는 것이 port number라 한다. 식별자이다. Datalink 계층(2계층)에서 호스트의 NIC로 MAC Address를 판별하고Netwok ..