아래의 표는 윈도우의 대표적인 서비스들이 사용하는 Port를 정리해 놓은 것입니다.

흔히 쓰이는 DHCP, DNS, FTP, HTTP, KMS, NTP, SMB, W32Time, Terminal Service, MS-SQL은 알아두면 좋을 것 같습니다.

Port Protocol Network Service  System Service
445 TCP ADDS AD Access and Authentication
1025 TCP ADDS AD Login & Replication
1026 TCP ADDS AD Login & Replication
42424 TCP ASP.Net Session State ASP.NET State Service
4011 UDP BINL Remote Installation
19 TCP Chargen Simple TCP/IP Services
19 UDP Chargen Simple TCP/IP Services
3343 UDP Cluster Services Cluster Service
13 TCP Daytime Simple TCP/IP Services
13 UDP Daytime Simple TCP/IP Services
67 UDP DHCP Server DHCP Server
67 UDP DHCP Server Internet Connection Firewall/Internet Connection Sharing
68 UDP DHCP Server DHCP Server
9 TCP Discard Simple TCP/IP Services
9 UDP Discard Simple TCP/IP Services
53 TCP DNS DNS Server
53 UDP DNS DNS Server
53 TCP DNS Internet Connection Firewall/Internet Connection Sharing
53 UDP DNS Internet Connection Firewall/Internet Connection Sharing
5718 TCP DPM TCP/Data Protection Manager
5719 TCP DPM TCP/Data Protection Manager
7 TCP Echo Simple TCP/IP Services
7 UDP Echo Simple TCP/IP Services
548 TCP File Server for Macintosh File Server for Macintosh
21 TCP FTP control FTP Publishing Service
21 TCP FTP control Application Layer Gateway Service
20 TCP FTP default data FTP Publishing Service
3268 TCP Global Catalog Server Local Security Authority
3269 TCP Global Catalog Server Local Security Authority
80 TCP HTTP Windows Media Services
80 TCP HTTP World Wide Web Publishing Service
80 TCP HTTP SharePoint Portal Server
8530 TCP HTTP Hypertext Transfer Protocol
8531 TCP HTTP Hypertext Transfer Protocol
443 TCP HTTPS HTTP SSL
443 TCP HTTPS World Wide Web Publishing Service
443 TCP HTTPS SharePoint Portal Server
143 TCP IMAP Exchange Server
993 TCP IMAP over SSL Exchange Server
500 UDP IPSec ISAKMP Local Security Authority
88 TCP Kerberos Kerberos Key Distribution Center
88 UDP Kerberos Kerberos Key Distribution Center
1688 TCP KMS Key Management Service
1701 UDP L2TP Routing and Remote Access
389 TCP LDAP Server Local Security Authority
389 UDP LDAP Server Local Security Authority
389 TCP LDAP Server Distributed File System
389 UDP LDAP Server Distributed File System
636 TCP LDAP SSL Local Security Authority
636 UDP LDAP SSL Local Security Authority
1645 UDP Legacy RADIUS Internet Authentication Service
1646 UDP Legacy RADIUS Internet Authentication Service
515 TCP LPD TCP/IP Print Server
2535 UDP MADCAP DHCP Server
1755 TCP MMS Windows Media Services
1755 UDP MMS Windows Media Services
5723 TCP MOM Agent Install
5724 TCP MOM Microsoft Operations Manager 2000
270 TCP MOM 2004 Microsoft Operations Manager 2004
51515 TCP MOM-Clear Microsoft Operations Manager 2000
1270 TCP MOM-Encrypted Microsoft Operations Manager 2000
2460 UDP MS Theater Windows Media Services
1801 TCP MSMQ Message Queuing
1801 UDP MSMQ Message Queuing
2101 TCP MSMQ-DCs Message Queuing
2107 TCP MSMQ-Mgmt Message Queuing
3527 UDP MSMQ-Ping Message Queuing
2103 TCP MSMQ-RPC Message Queuing
2105 TCP MSMQ-RPC Message Queuing
4500 UDP NAT-T Local Security Authority
138 UDP NetBIOS Datagram Service Computer Browser
138 UDP NetBIOS Datagram Service Messenger
138 UDP NetBIOS Datagram Service Server
138 UDP NetBIOS Datagram Service Net Logon
138 UDP NetBIOS Datagram Service Distributed File System
138 UDP NetBIOS Datagram Service Systems Management Server 2.0
138 UDP NetBIOS Datagram Service License Logging Service
137 UDP NetBIOS Name Resolution Computer Browser
137 UDP NetBIOS Name Resolution Server
137 UDP NetBIOS Name Resolution Windows Internet Name Service
137 UDP NetBIOS Name Resolution Net Logon
137 UDP NetBIOS Name Resolution Systems Management Server 2.0
139 TCP NetBIOS Session Service Computer Browser
139 TCP NetBIOS Session Service Fax Service
139 TCP NetBIOS Session Service Performance Logs and Alerts
139 TCP NetBIOS Session Service Print Spooler
139 TCP NetBIOS Session Service Server
139 TCP NetBIOS Session Service Net Logon
139 TCP NetBIOS Session Service Remote Procedure Call Locator
139 TCP NetBIOS Session Service Distributed File System
139 TCP NetBIOS Session Service Systems Management Server 2.0
139 TCP NetBIOS Session Service License Logging Service
119 TCP NNTP Network News Transfer Protocol
563 TCP NNTP over SSL Network News Transfer Protocol
123 UDP NTP Windows Time
2393 TCP OLAP Services 7.0 SQL Server: Downlevel OLAP Client Support
2394 TCP OLAP Services 7.0 SQL Server: Downlevel OLAP Client Support
110 TCP POP3 Microsoft POP3 Service
110 TCP POP3 Exchange Server
995 TCP POP3 over SSL Exchange Server
1723 TCP PPTP Routing and Remote Access
17 TCP Quotd Simple TCP/IP Services
17 UDP Quotd Simple TCP/IP Services
1813 UDP RADIUS Accounting Internet Authentication Service
1812 UDP RADIUS Authentication Internet Authentication Service
51905 TCP RMS Microsoft Operations Manager 2000
51906 TCP RMS Microsoft Operations Manager 2000
51907 TCP RMS Microsoft Operations Manager 2000
51908 TCP RMS Microsoft Operations Manager 2000
51909 TCP RMS Microsoft Operations Manager 2000
135 TCP RPC Message Queuing
135 TCP RPC Remote Procedure Call
135 TCP RPC Exchange Server
135 TCP RPC Certificate Services
135 TCP RPC Cluster Service
135 TCP RPC Distributed File System
135 TCP RPC Distributed Link Tracking
135 TCP RPC Distributed Transaction Coordinator
135 TCP RPC Event Log
135 TCP RPC Fax Service
135 TCP RPC File Replication
135 TCP RPC Local Security Authority
135 TCP RPC Remote Storage Notification
135 TCP RPC Remote Storage Server
135 TCP RPC Systems Management Server 2.0
135 TCP RPC Terminal Services Licensing
135 TCP RPC Terminal Services Session Directory
49152~65535 TCP RPC RPC Response
49152~65535 UDP RPC RPC Response
593 TCP RPC over HTTP Remote Procedure Call
593 TCP RPC over HTTP Exchange Server
5005 UDP RTCP Windows Media Services
5004 UDP RTP Windows Media Services
554 TCP RTSP Windows Media Services
445 TCP SMB Fax Service
445 TCP SMB License Logging Service
445 TCP SMB Print Spooler
445 TCP SMB Server
445 TCP SMB Remote Procedure Call Locator
445 TCP SMB Distributed File System
445 TCP SMB Net Logon
2703 TCP SMS Remote Chat SMS Remote Control Agent
2703 UDP SMS Remote Chat SMS Remote Control Agent
2701 TCP SMS Remote Control (control) SMS Remote Control Agent
2701 UDP SMS Remote Control (control) SMS Remote Control Agent
2702 TCP SMS Remote Control (data) SMS Remote Control Agent
2702 UDP SMS Remote Control (data) SMS Remote Control Agent
2704 TCP SMS Remote File Transfer SMS Remote Control Agent
2704 UDP SMS Remote File Transfer SMS Remote Control Agent
25 TCP SMTP Simple Mail Transport Protocol
25 UDP SMTP Simple Mail Transport Protocol
25 TCP SMTP Exchange Server
25 UDP SMTP Exchange Server
161 UDP SNMP SNMP Service
162 UDP SNMP Traps Outbound SNMP Trap Service
123 UDP W32Time Windows Time
2725 TCP SQL Analysis Services SQL 2000 Analysis Server
1433 TCP SQL over TCP Microsoft SQL Server
1433 TCP SQL over TCP MSSQL$UDDI
1434 UDP SQL Probe Microsoft SQL Server
1434 UDP SQL Probe MSSQL$UDDI
1900 UDP SSDP SSDP Discovery Service
2869 TCP SSDP event notification SSDP Discovery Service
5000 TCP SSDP legacy event notification SSDP Discovery Service
23 TCP Telnet Telnet
3389 TCP Terminal Services NetMeeting Remote Desktop Sharing
3389 TCP Terminal Services Terminal Services
69 UDP TFTP Trivial FTP Daemon Service
2869 TCP UPNP Universal Plug and Play Device Host
42 TCP WINS Replication Windows Internet Name Service
42 UDP WINS Replication Windows Internet Name Service
102 TCP X.400 Microsoft Exchange MTA Stacks

Trackbacks 0 | Comments 0

가상 서버에서의 VLAN 설정법입니다.

스위치에서 여러개의 네트워크 대역을 하나로 묶어 Trunk 설정을 하는 것처럼 호스트 서버의 가상스위치에서도 VLAN 설정을 통한 Trunk 설정이 가능합니다.

VLAN Trunk 설정이 되어있는 네트워크 케이블을 가지고 호스트 서버에서 가상 네트워크 스위치를 구성합니다.

 

호스트 서버 Hyper-V 관리자를 실행시키고 VLAN을 설정 할 가상서버를 우클릭해서 설정으로 들어갑니다.

 그리고 Trunk가 설정되어 있는 가상 스위치의 네트워크를 가져옵니다. 그러면 가상 LAN ID 사용 이라는 체크 박스가 있는데요 체크박스 안에 설정한 V통신단에서 설정한 VLAN 값을 넣어주면 되겠습니다.

 

Trackbacks 0 | Comments 0

서버 시간동기화 방법

장애 이벤트 발생 화면

위와 같은 장애 이벤트가 발생하였을 경우에 조치 방법입니다.

가장 먼저 현재 서버의 시간동기화 방식을 확인해야 합니다.

w32tm /dumpreg /subkey:parameters

를 통해 결과값을 확인합니다.

Nt5DS = 도메인 계층 구조로 동기화합니다[기본값].
NTP = 수동으로 구성된 원본으로 동기화합니다.
NoSync = 시간을 동기화하지 않습니다.

옵션은 위의 3가지로 각각의 환경에 따라 맞는 설정값이 되어 있어야 합니다.

만약 도메인 환경이지만 시간동기화 방식이 NTP라면 동기화 방식을 Nt5DS로 변경해 주어야 합니다.

다음으로 타임 동기화 명령을 내려야 합니다.

w32tm /resync

명령을 내리면 서버가 바라보는 시간동기화 서버와 시간을 재동기화 합니다.

잘되고 있는지 확인하기위해서 아래의 명령어를 입력합니다.

w32tm /stripchart /computer:시간동기화 서버 IP /dataonly

시간의 오차가 점점 줄어드는 것을 확인할 수 있습니다.

 

'Tip' 카테고리의 다른 글

서버 시간동기화 방법  (0) 2012.07.12
자주 사용하는 Windows Command  (0) 2012.06.14
Trackbacks 0 | Comments 0

출근과퇴근's Blog is powered by Daum & tistory