CentOS 열린포트 확인
remark :
열린포트 확인 해보기
netstat -tnlp
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# netstat -tnlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 950/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1073/master tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1082/mysqld tcp6 0 0 :::21 :::* LISTEN 1219/vsftpd tcp6 0 0 :::22 :::* LISTEN 950/sshd tcp6 0 0 ::1:25 :::* LISTEN 1073/master tcp6 0 0 :::443 :::* LISTEN 952/httpd tcp6 0 0 :::33060 :::* LISTEN 1082/mysqld tcp6 0 0 :::80 :::* LISTEN 952/httpd |