Lm th? no ? s? d?ng Portqry ? kh?c ph?c cc v?n ? k?t n?i ho?t ?ng th m?c

D?ch tiu ? D?ch tiu ?
ID c?a bi: 310456 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

? Trang ny

TM T?T

Portqry l m?t d?ng l?nh ti?n ch m b?n c th? s? d?ng ? gip kh?c ph?c cc v?n ? k?t n?i TCP/IP, m b?n c th? ch?y trn Windows 2000 v Windows XP. Cc ti?n ch bo co t?nh tr?ng c?ng c?a m?c tiu chuy?n ti?p Control Protocol (TCP) v giao th?c Datagram ng?i dng (UDP) c?ng trn m?t my tnh t? xa.

B?n c?ng c th? s? d?ng Portqry trong cc cch sau:
  • ? kh?c ph?c cc v?n ? Active Directory m b?n c?n ph?i xc minh k?t n?i TCP/IP c b?n, m c th? ?c bi?t h?u ch trong cc mi tr?ng v?i b?c t?ng l?a.
  • ? xc minh k?t n?i TCP/IP c?ng ?c s? d?ng b?i Active Directory Lightweight Directory Access Protocol (LDAP), cu?c g?i th? t?c t? xa (RPC) v d?ch v? tn mi?n (DNS).


Chu y Phin b?n 2 c?a Portqry.exe by gi? c s?n. Trung tm t?i v? lin k?t ? cu?i bi ny ? ?c c?p nh?t ? ph?n nh cc phin b?n m?i. Phin b?n 1.0 c?a Portqry.exe ? b? lo?i b? t? trung tm t?i v?.

THNG TIN THM

Portqry bo co t?nh tr?ng c?a m?t c?ng ? m?t trong ba cch:
  • Nghe: M?t qu tr?nh l?ng nghe trn c?ng m?c tiu trn h? th?ng ch. Portqry ? nh?n ?c m?t ph?n ?ng t? cc c?ng.
  • Khng l?ng nghe: Khng c qu tr?nh l?ng nghe trn c?ng m?c tiu trn h? th?ng ch. Portqry ? nh?n ?c m?t Internet i?u khi?n thng bo giao th?c (ICMP) "i?m ?n Unreachable - Port Unreachable" thng i?p tr? l?i t? m?c tiu c?ng UDP. Ho?c, n?u c?ng m?c tiu l m?t c?ng TCP, Portqry ? nh?n ?c m?t gi d? li?u TCP xc nh?n v?i cc Thi?t l?p l?i c? ?c ?t.
  • L?c: C?ng m?c tiu trn h? th?ng ch ?c l?c. Portqry khng nh?n ?c m?t ph?n ?ng t? cc c?ng ch. M?t qu tr?nh c th? ho?c c th? khng l?ng nghe trn c?ng. Theo m?c ?nh, c?ng TCP ?c truy v?n ba l?n v UDP ports ang truy v?n m?t l?n tr?c khi bo co m?c tiu c?ng ?c l?c.
V?i Portqry, b?n c?ng c th? truy v?n d?ch v? LDAP. N bi?t lm th? no ? g?i m?t truy v?n LDAP (b?ng cch s? d?ng TCP v UDP) v gi?i thch c?a m?t my ch? LDAP ? p ?ng v?i cc truy v?n. Cc ph?n ?ng t? h? ph?c v? LDAP phn tch, ?nh d?ng v quay tr? v? ng?i s? d?ng.

V d?

Khi b?n ch?y l?nh sau:
portqry - n myserver -p udp -e 389
Portqry t? ?ng gi?i quy?t c?ng UDP 389 b?ng cch s? d?ng cc t?p tin %SystemRoot%\System32\Drivers\...\Services m?i h? th?ng Windows 2000 v Windows XP c theo m?c ?nh. N?u n gi?i quy?t c?ng ?n d?ch v? LDAP, n s? g?i m?t datagram ng?i dng cha ?nh d?ng cho UDP c?ng 389 trn h? th?ng ch. Portqry s? khng nh?n ?c m?t ph?n ?ng t? cc c?ng nh d?ch v? LDAP ch? ph?n ?ng v?i m?t truy v?n LDAP ?c ?nh d?ng ng. Portqry s? bo co r?ng c?ng l l?ng nghe ho?c l?c. Portqry sau s? g?i m?t truy v?n LDAP ?c ?nh d?ng ng c?ng UDP 389. N nh?n ?c m?t ph?n ?ng v?i cc truy v?n, n c tr? l?i ton b? ph?n ?ng ? ng?i s? d?ng v bo co r?ng c?ng l?ng nghe. N?u portqry khng nh?n ?c m?t ph?n ?ng v?i cc truy v?n, n bo co r?ng c?ng ?c l?c.

M?u ?u ra

C:\>portqry -n mydc.reskit.com -e 389 -p udp 
 
Querying target system called: 
 
mydc.reskit.com 
 
Attempting to resolve name to IP address... 
 
Name resolved to 169.254.0.14 
 
UDP port 389 (unknown service): LISTENING or FILTERED 
 
Sending LDAP query to UDP port 389... 
 
LDAP query response: 
 
currentdate: 10/11/2001 23:10:21 (unadjusted GMT) 
subschemaSubentry: 
CN=Aggregate,CN=Schema,CN=Configuration,DC=reskit,DC=com 
dsServiceName: CN=NTDS  
Settings,CN=mydc,CN=Servers,CN=eu,CN=Sites,CN
=Configuration,DC=reskit,DC=com 
namingContexts: DC=reskit,DC=com 
defaultNamingContext: DC=reskit,DC=com 
schemaNamingContext: 
CN=Schema,CN=Configuration,DC=reskit,DC=com 
configurationNamingContext: 
CN=Configuration,DC=reskit,DC=com 
rootDomainNamingContext: DC=reskit,DC=com 
supportedControl: 1.2.840.113556.1.4.319 
supportedLDAPVersion: 3 
supportedLDAPPolicies: MaxPoolThreads 
highestCommittedUSN: 815431405 
supportedSASLMechanisms: GSSAPI 
dnsHostName: MYDC.reskit.com 
ldapServiceName: reskit.com:mydc$@RESKIT.COM 
serverName:  
CN=MYDC,CN=Servers,CN=EU,CN=Sites,CN=Configuration,DC=reskit,DC=com 
supportedCapabilities: 1.2.840.113556.1.4.800 
isSynchronized: TRUE 
isGlobalCatalogReady: TRUE 
 
======== End of LDAP query response ======== 
UDP port 389 is LISTENING 

					
Trong m?u ny, c?ng 389 nghe v t? ?u ra n c th? xc ?nh m d?ch v? LDAP l?ng nghe trn c?ng v m?t s? chi ti?t v? c?u h?nh c?a n. Thng tin ny c?ng c th? h?u ch trong x? l? s? c? v?n ? khc nhau.

Portqry bi?t lm th? no ? g?i m?t truy v?n ?n RPC i?m k?t thc mapper (s? d?ng UDP v TCP) v gi?i thch cc ph?n ?ng. Truy v?n ny s? ? t?t c? cc i?m hi?n ang ng k? v?i cng c? b?n ? i?m k?t thc RPC. Cc ph?n h?i t? cng c? b?n ? i?m k?t thc phn tch, ?nh d?ng v tr? l?i cho ng?i dng.

V d?

Khi b?n ch?y l?nh sau:
portqry - n mydc.reskit.com -p udp -e 135

M?u ?u ra

Querying target system called: 
 
mydc.reskit.com 
 
Attempting to resolve name to IP address... 
 
Name resolved to 169.254.0.18 
 
UDP port 135 (epmap service): LISTENING or FILTERED 
Querying Endpoint Mapper Database... 
Server's response: 
 
UUID: ecec0d70-a603-11d0-96b1-00a0c91ece30 NTDS Backup Interface
ncacn_np:\\\\MYDC[\\PIPE\\lsass] 
 
UUID: 16e0cf3a-a604-11d0-96b1-00a0c91ece30 NTDS Restore Interface
ncacn_np:\\\\MYDC[\\PIPE\\lsass] 
 
UUID: e3514235-4b06-11d1-ab04-00c04fc2dcd2 MS NT Directory DRS Interface
ncacn_ip_tcp:169.254.0.18[1027] 
 
UUID: f5cc59b4-4264-101a-8c59-08002b2f8426 NtFrs Service
ncacn_ip_tcp:169.254.0.18[1130] 
 
UUID: d049b186-814f-11d1-9a3c-00c04fc9b232 NtFrs API
ncacn_ip_tcp:169.254.0.18[1130] 
 
UUID: d049b186-814f-11d1-9a3c-00c04fc9b232 NtFrs API
ncacn_np:\\\\MYDC[\\pipe\\00000580.000] 
 
Total endpoints found: 6 
 
==== End of RPC Endpoint Mapper query response ==== 
 
UDP port 135 is LISTENING
					
Trong v d? ny, c?ng 135 nghe v t? ?u ra n c th? xc ?nh m d?ch v? ho?c cc ?ng d?ng ? ?c ng k? v?i my ch? m?c tiu RPC i?m k?t thc cng c? b?n ? c s? d? li?u. ?u ra bao g?m m?i ?ng d?ng ph? duy nh?t ?nh danh (UUID), ch thch tn (n?u m?t trong nh?ng t?n t?i), giao th?c ?ng d?ng s? d?ng, ?a ch? m?ng ?ng d?ng l rng bu?c ? v i?m k?t thc c?a ?ng d?ng (c?ng s?, ?t tn ?ng ?ng, v vv, trong d?u ngo?c vung). Thng tin ny c?ng c th? h?u ch trong x? l? s? c? v?n ? khc nhau.

Portqry c th? g?i m?t truy v?n DNS ng ?nh d?ng (s? d?ng UDP ho?c TCP). Ti?n ch s? g?i m?t truy v?n DNS cho "portqry.microsoft.com." Portqry sau ch? ?i p ?ng t? h? ph?c v? DNS m?c tiu. Cho d ? truy v?n DNS, ph?n ?ng l tiu c?c hay tch c?c l khng thch h?p v? b?t c? ph?n ?ng ch? ra r?ng c?ng l?ng nghe.

Portqry.exe c s?n ? t?i v? t? trung tm t?i v?. ? t?i v? Portqry.exe, gh thm Web site sau c?a Microsoft:
http://www.Microsoft.com/downloads/details.aspx?FamilyID=89811747-C74B-4638-A2D5-AC828BDC6983&displaylang=en
Quan tr?ng Cng c? PortQueryUI cung c?p m?t giao di?n ng?i dng ? h?a c s?n ? t?i v?. PortQueryUI c m?t s? tnh nng c th? lm cho vi?c s? d?ng PortQry d? dng hn. ? c ?c cc cng c? PortQueryUI, gh thm Web site sau c?a Microsoft:
http://Download.Microsoft.com/Download/3/f/4/3f4c6a54-65f0-4164-bdec-a3411ba24d3a/PortQryUI.exe

Thu?c tnh

ID c?a bi: 310456 - L?n xem xt sau cng: 27 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows XP Professional
T? kha:
kbenv kberrmsg kbhowto kbnetwork kbmt KB310456 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:310456

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com