| 349 | === Running port 80 on tracd on Windows (Standalone) === |
| 350 | |
| 351 | This 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 | |
| 353 | IIS 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 | |
| 355 | Install 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 | {{{ |
| 363 | C:\Program Files\Support Tools\ |
| 364 | }}} |
| 365 | |
| 366 | List IP addresses currently listening: (this will be an empty list to start) |
| 367 | {{{ |
| 368 | httpcfg query iplisten |
| 369 | }}} |
| 370 | |
| 371 | Add IP address(es) to listen: |
| 372 | {{{ |
| 373 | httpcfg set iplisten -i 127.0.0.1 (to keep it listening on localhost; seemed like a good idea) |
| 374 | httpcfg set iplisten -i nnn.nn.n.nnn (other IIS IP addresses as needed; NOT the one you want for tracd) |
| 375 | }}} |
| 376 | |
| 377 | Stop and restart http service.[[BR]] |
| 378 | Note 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 | {{{ |
| 382 | net stop http /y |
| 383 | net start w3svc |
| 384 | }}} |
| 385 | |
| 386 | Run 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 | {{{ |
| 391 | tracd -b hostname.domain.com (and other options as needed) |
| 392 | }}} |
| 393 | |
| 394 | '''Side notes:'''[[BR]] |
| 395 | This 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 | |
| 397 | Later, 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 | |
| 399 | There 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 | |