Saturday, November 17, 2007

Update: Port manipulations fot Tomcat & IIS

I guess, I never rest. So here's plugging two holes in my previous post, the port manipulations for Apache Tomcat & Microsoft IIS. Here goes:

Apache Tomcat:

  1. Go to C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf
  2. Open server.xml in Dreamweaver or Notepad
  3. Change Connector port="7777" (for example, from the original 8080 or 80) where protocol="HTTP/1.1"
  4. Be careful of the latter part. There are multiple 'connector' tags in the whole XML document, but you must change only the right one.
  5. Save the file and restart the server.
  6. Confirm at localhost:7777
Windows IIS
  1. Go to Control Panel > Administrative Tools > Internet Information Services > (local computer name) > Default website.
  2. Right click and select Properties.
  3. Under the Website tab > Web Identification section > TCP Port > type 6666
  4. (You can type any port number you wish, as usual)
  5. Restart the server (software)
Thats it!

No comments: