본문 바로가기
Dev/Article

사용중인 port 확인하는 방법

by Luigi.yoon 2022. 6. 21.

 

$ netstat -ntap | grep LISTEN | grep 80
(No info could be read for "-p": geteuid()=500 but you should be root.)
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:8005          0.0.0.0:*               LISTEN      -