Port Query 사용법

 

 

 

 

 

 

 

목차



1. 다운로드 사이트


2. Port Query(포트쿼리) 란?


3. PortQryUI 설치 및 사용방법

 

 

 

 

1. 다운로드 사이트

 

PortQryUI - User Interface for the PortQry Command Line Port Scanner (UI)

PortQryUI.exe

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=24009

 

PortQry Command Line Port Scanner Version 2.0 (Command Line Tool)

PortQryV2.exe

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17148

 

 

2. Port Query(포트쿼리) 란?

 

TCP, UDP 포트의 상태를 확인 할 수 있는 유틸리티 입니다.

네트워크의 문제점, 즉 특정 응용프로그램 및 시스템에서 사용하는 TCP, UDP 포트의 상태를 확인 하여 해당 문제점을 해결할 수 있는 유용한 툴입니다.

 

UI 환경인 PortQryUI 와 Command Line Tool 인 PortQry 2가지 툴이 있는대, 차이점은 없습니다.

다만 UI 를 사용하면 주요 서비스에 대한 템플릿을 제공하기 때문에 편리합니다.

 

 

3. PortQryUI 설치 및 사용방법

 

1. 다운로드 받은 설치 파일 에서 우클릭 후 관리자 권한으로 실행 을 클릭 합니다.

 

2. PortQueryUI 창에서, Yes 를 클릭 합니다.


 

3. WinZip Self-Extractor 창에서, 압축을 해제할 경로 지정 후 Unzip 을 클릭 합니다.

cf) 기본 경로는 C:\PortQryUI 입니다.

 

4. 압축이 해제된 경로로 이동 후 portqueryui 파일 에서 우클릭 후 관리자 권한으로 실행 을 클릭 합니다.

 

5. Port Query 창에서, Enter destination IP or FQDN to query 에 해당 시스템의 IP 및 Hostname 입력 후 Query Type 에서 서비스 항목을 직접 선택 하거나 특정포트 (TCP, UDP) 를 직접 입력 합니다.

 

6. 모든 정보 입력 후 Query 를 클릭 합니다.

 

7. Query Result 에서 포트 오픈 여부를 확인 할 수 있습니다.

 

8. 다음과 같이 해당 서비스에서 사용하는 포트 정보를 자세하게 확인 할 수 있습니다.

=============================================

 Starting portqry.exe -n 192.168.4.1 -e 135 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 135 (epmap service): FILTERED
portqry.exe -n 192.168.4.1 -e 135 -p TCP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 389 -p BOTH ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 389 (ldap service): FILTERED

UDP port 389 (unknown service): LISTENING or FILTERED

Using ephemeral source port
Sending LDAP query to UDP port 389...

LDAP query to port 389 failed
Server did not respond to LDAP query

portqry.exe -n 192.168.4.1 -e 389 -p BOTH exits with return code 0x00000001.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 636 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 636 (ldaps service): FILTERED
portqry.exe -n 192.168.4.1 -e 636 -p TCP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 3268 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 3268 (msft-gc service): FILTERED
portqry.exe -n 192.168.4.1 -e 3268 -p TCP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 3269 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 3269 (msft-gc-ssl service): FILTERED
portqry.exe -n 192.168.4.1 -e 3269 -p TCP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 53 -p BOTH ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 53 (domain service): FILTERED

UDP port 53 (domain service): LISTENING
portqry.exe -n 192.168.4.1 -e 53 -p BOTH exits with return code 0x00000000.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 88 -p BOTH ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 88 (kerberos service): FILTERED

UDP port 88 (kerberos service): LISTENING or FILTERED
portqry.exe -n 192.168.4.1 -e 88 -p BOTH exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 445 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 445 (microsoft-ds service): FILTERED
portqry.exe -n 192.168.4.1 -e 445 -p TCP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 137 -p UDP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

UDP port 137 (netbios-ns service): LISTENING or FILTERED

Using ephemeral source port
Attempting NETBIOS adapter status query to UDP port 137...

NETBIOS name for 192.168.4.1 not found (timeout)
Adapter status query failed.
UDP port: FILTERED

portqry.exe -n 192.168.4.1 -e 137 -p UDP exits with return code 0x00000001.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 138 -p UDP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

UDP port 138 (netbios-dgm service): LISTENING or FILTERED
portqry.exe -n 192.168.4.1 -e 138 -p UDP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 139 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 139 (netbios-ssn service): FILTERED
portqry.exe -n 192.168.4.1 -e 139 -p TCP exits with return code 0x00000002.
=============================================

 Starting portqry.exe -n 192.168.4.1 -e 42 -p TCP ...


Querying target system called:

 192.168.4.1

Attempting to resolve IP address to a name...

Failed to resolve IP address to name

querying...

TCP port 42 (nameserver service): FILTERED
portqry.exe -n 192.168.4.1 -e 42 -p TCP exits with return code 0x00000002.

'ETC > Network' 카테고리의 다른 글

Network Monitor 설치 및 사용 방법  (0) 2016.11.01
간단한 route 명령어  (0) 2015.11.30
Port Query 사용법  (0) 2015.11.29

+ Recent posts

티스토리 툴바