Edgewall Software

Changes between Version 259 and Version 260 of TracOnWindows


Ignore:
Timestamp:
Dec 8, 2008, 5:16:36 AM (15 years ago)
Author:
goodeye <dev@…>
Comment:

Running tracd on port 80

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindows

    v259 v260  
    347347}}}
    348348
     349=== Running port 80 on tracd on Windows (Standalone) ===
     350
     351This describes getting IIS out of the way, so you can run tracd on port 80. This assumes Windows Server 2003 SP1 (IIS 6); I just haven't tried it on other versions.
     352
     353IIS typically listens to port 80 on all IP addresses, whether or not a website is assigned to an IP. This prevents other services from using port 80, including tracd. To get IIS to stop listening to all IP addresses, use '''httpcfg''' to tell it specific IP addresses.
     354
     355Install the Windows Server 2003 SP1 Support Tools.
     356  Normally found on the installation disk. Also found here:[[BR]]
     357  [http://www.petri.co.il/download_windows_2003_sp1_support_tools.htm][[BR]]
     358  [http://download.microsoft.com/download/3/e/4/3e438f5e-24ef-4637-abd1-981341d349c7/WindowsServer2003-KB892777-SupportTools-x86-ENU.exe]
     359 
     360  This basically just copies the tools, which are just executables. However, the installer does set Start menu links, which are handy for knowing what's there, so run it. The files end up in:
     361
     362{{{
     363C:\Program Files\Support Tools\
     364}}}
     365
     366List IP addresses currently listening: (this will be an empty list to start)
     367{{{
     368httpcfg query iplisten
     369}}}
     370
     371Add IP address(es) to listen:
     372{{{
     373httpcfg set iplisten -i 127.0.0.1      (to keep it listening on localhost; seemed like a good idea)
     374httpcfg set iplisten -i nnn.nn.n.nnn   (other IIS IP addresses as needed; NOT the one you want for tracd)
     375}}}
     376
     377Stop and restart http service.[[BR]]
     378Note the stop and start are different, to stop top-down, and start bottom-up. This is not simply restarting IIS. Sometimes this fails to restart; reboot the server.
     379
     380
     381{{{
     382net stop http /y
     383net start w3svc
     384}}}
     385
     386Run tracd
     387  Include the hostname option, so tracd runs on a specific IP that isn't in the IIS listening list.
     388  The IP address worked locally, but a host name seems required for remote access. IIS still seems to check it before passing on it.
     389
     390{{{
     391tracd -b hostname.domain.com (and other options as needed)
     392}}}
     393
     394'''Side notes:'''[[BR]]
     395This specific listen list is also needed (and is how I discovered it) for installing different SSL certificates on multiple websites. This frees up the dialog boxes that allow entering a specific IP address for the SSL port 443.
     396
     397Later, if you add a new IP address and website to IIS, you must add it to this listen list. You'll forget. I don't remember the error message, but I'm sure it's vague, and it will drive you crazy.
     398
     399There are other toolkits (even though this task boiled down to the one above):
     400  - Windows Server 2003 Resource Kit Tools[[BR]]
     401  C:\Program Files\Windows Resource Kits\Tools\[[BR]]
     402  [http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en][[BR]]
     403  dnsdiag, tail, cmdhere, about 130 others.
     404
     405
     406  - IIS 6 Resource Kit Tools[[BR]]
     407  [http://support.microsoft.com/kb/840671][[BR]]
     408  C:\Program Files\IIS Resources\[[BR]]
     409  Metabase Explorer, SelfSSL, a dozen others.
     410
     411
     412  - SSL Diagnostics[[BR]]
     413  C:\Program Files\IIS Resources\[[BR]]
     414  (has a separate installer and start menu entry, but ends up in this folder with the others.)[[BR]]
     415  [http://www.microsoft.com/downloads/details.aspx?FamilyID=cabea1d0-5a10-41bc-83d4-06c814265282&DisplayLang=en][[BR]]
     416  SSLDiag.exe
     417
     418
    349419
    350420=== Using SSL with tracd on Windows (Standalone) ===