일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- db
- Spring
- javascript
- it
- Design Patterns
- ReactJS
- elasticsearch
- redis
- devops
- AWS
- linux
- jsp
- JVM
- MySQL
- laravel
- Spring Batch
- Gradle
- Web Server
- ubuntu
- jenkins
- Git
- springboot
- IntelliJ
- Oracle
- Spring Boot
- php
- tool
- 맛집
- 요리
- java
Archives
- Today
- Total
아무거나
서버 열린 포트 확인 본문
반응형
1. netstat
netstat -tnlp
netstat -tnlp | grep -v 127.0.0.1 | sed 's/:::/0 /g' | sed 's/[:\/]/ /g' | awk '{print $5"\t"$10}' | sort -u // 포트 프로세스 목록 확인
2. lsof
lsof -i -nP | grep LISTEN | awk '{print $(NF-1)" "$1}' | sort -u
3. nmap
nmap localhost
반응형
'Infra > Linux & Unix' 카테고리의 다른 글
[ubuntu] Let's Encrypt 사용하여 무료 SSL 사이트 구축방법 (0) | 2019.04.23 |
---|---|
file encoding 확인 (0) | 2019.04.22 |
파일 라인 수 출력 (0) | 2019.04.22 |
shell script 작성시 parameter의 개수를 체크하는 방법 (0) | 2019.04.22 |
[ubuntu] curl response time check 방법 (0) | 2019.04.22 |
Comments