1) 열려있는 모든 포트 확인
netstat -an | more
LISTENING : 접속 요청을 기다리고 있는 상태
ESTABLISHED : 서버와 클라이언트 사이에 연결된 상태
CLOSED : 완전히 연결이 종료 된 상태
TIME-WAIT : 연결이 종료 상태지만 소켓을 잠시 열어놓은 상태
2) LISTEN 상태 포트 확인
netstat -an | grep LISTEN
'Linux' 카테고리의 다른 글
| [Linux] IP 주소 확인 명령어 (0) | 2023.02.08 |
|---|---|
| 해결 - Unable to acquire the dpkg frontend lock / (13: 허가 거부) (0) | 2021.09.06 |
| 해결 - 우분투 Block probing did not discover any disks. (0) | 2021.09.03 |
| Windows에서 VirtualBox로 리눅스/우분투(Linux/Ubuntu) 설치 (2) (0) | 2021.09.03 |
| Windows에서 VirtualBox로 리눅스/우분투(Linux/Ubuntu) 설치 (1) (0) | 2021.09.02 |