Windows XP Change HTTPS Port Binding

On Windows XP, to change the HTTPS secure port binding (e.g. to port 444 instead of 443), run the following adsutil script at the command prompt:

C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/1/securebindings ":444:"

Return:

Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

securebindings                  : (LIST) ":444:"

You can verify the new setting by opening IIS Manager and clicking the “Advanced…” IP Address button on the properties page of the default website.

You can also verify using the following netstat command to view all TCP ports:

C:\Inetpub\AdminScripts>netstat -an -p tcp

Return:

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:25             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:444            0.0.0.0:0              LISTENING
  ...