• 카테고리
    • 전체 글

    • 카테고리1
    • 카테고리2
    • 카테고리3
    • 카테고리4
  • 태그
  • 방명록

Terminal Servce Port 변경 법

기술자료/OS 2003. 6. 30. 23:09

How to Change Terminal Server's Listening Port



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 Terminal Server Edition

  • Microsoft Windows 2000 Server

  • Microsoft Windows 2000 Advanced Server

  • Microsoft Windows 2000 Professional




This article was previously published under Q187623


IMPORTANT: This article contains information about modifying
the registry. Before you modify the registry, make sure to back it up and make
sure that you understand how to restore the registry if a problem occurs. For
information about how to back up, restore, and edit the registry, click the
following article number to view the article in the Microsoft Knowledge Base:



256986
Description of the Microsoft Windows Registry



SUMMARY


By default Terminal Server and Windows 2000 Terminal Services uses TCP port
3389 for client connections. Microsoft does not recommend that this value be
changed. However, if it becomes necessary to change this port, follow these
instructions.



MORE INFORMATION


WARNING: If you use Registry Editor incorrectly, you may
cause serious problems that may require you to reinstall your operating
system. Microsoft cannot guarantee that you can solve problems that result
from using Registry Editor incorrectly. Use Registry Editor at your own risk.



To change the default port for all new connections created on the Terminal
Server:



  1. Run Regedt32 and go to this key:

    HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal
    ServerWinStationsRDP-Tcp


    NOTE: The above registry key is one path; it has been
    wrapped for readability.




  2. Find the "PortNumber" subkey and notice the value of 00000D3D, hex for
    (3389). Modify the port number in Hex and save the new value.



    To change the port for a specific connection on the Terminal Server:

    • Run Regedt32 and go to this key:

      HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminal
      ServerWinStationsconnection


      NOTE: The above registry key is one path; it has been
      wrapped for readability.




  3. Find the "PortNumber" subkey and notice the value of 00000D3D, hex for
    (3389). Modify the port number in Hex and save the new value.



    NOTE: Because the use of alternate ports has not been fully
    implemented for Terminal Server 4.0, support will be provided as "reasonable
    effort" only, and Microsoft may require you to set the port back to 3389, if
    any problems occur.


To Alter the Port on the Client Side



  1. Open Client Connection Manager.

  2. On the File menu, click New Connection,
    and then create the new connection. After running the wizard, you should
    have a new connection listed there.

  3. Making sure that the new connection is highlighted, on the File
    menu, click Export. Save it as name.cns.

  4. Edit the .cns file using Notepad changing "Server Port=3389" to "Server
    Port=xxxx" where xxxx is the new port that you
    specified on Terminal Server.

  5. Now import the file back into Client Connection Manager. You may be
    prompted to overwrite the current one, if it has the same name. Go ahead and
    overwrite it. You now have a client that has the correct port settings to
    match your change Terminal Server settings.


NOTE: The Terminal Server ActiveX client listens on TCP
port 3389 and this cannot be changed. The Remote Desktop Protocol (RDP) client
that is available in Microsoft Windows XP and Windows .NET (version 5.1 and
later) has this ability.

NOTE: You must restart the Terminal Server before the new
listening port becomes active, or recreate the RDP listener via Terminal
Services configuration.

728x90
블로그 이미지

하인도1

[하인드/하인도/인도짱 의 홈페이지] 저만의 공간입니다. 다양한 소재들을 나열하는 아주 단순 무식한 홈페이지 입니다. 다양한 문서 자료도 있겠지만, 저의 푸념들도 있답니다.

250x250

블로그 내에 소스 코드 삽입 이사온 기념 스킨도... RSS 전문 기능 비활성화 관련. 스킨 바꾸어 보았습니다. 서버 파일 정리 좀 했습니다.

«   2025/06   »
일 월 화 수 목 금 토
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

친구 java Google Apps Engine 협업 twi2me WSS 매뉴얼 좀 지름신 e-book 수 Azure SharePoint 불만 것 windows me2dayzm 오류 2010 Visual Studio 개발환경 me2sms Tutorial MOSS 2007 블로그 me2photo moss Buscuit 비스킷 인터파크

  • Total :
  • Today :
  • Yesterday :

Copyright © 2015-2025 Socialdev. All Rights Reserved.

Copyright © 2015-2025 Socialdev. All Rights Reserved.

티스토리툴바

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.