[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects

webmaster@zope.org webmaster@zope.org
Sun, 15 Dec 2002 13:14:50 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/BasicObject.stx#3-86

---------------

      In Chapter 2, "Using Zope" you determined the URL of your Zope
      system by looking at the start up log.  Finding out how to contact
      your Zope's FTP server follows a similar process::

        ------
        2000-08-07T23:00:53 INFO(0) ZServer Medusa (V1.18) started at Mon Aug  7 
  16:00:53 2000
                Hostname: peanut
                Port:8080

        ------
        2000-08-07T23:00:53 INFO(0) ZServer FTP server started at Mon Aug  7   16:00:53 2000
                Authorizer:None
                Hostname: peanut
                Port: 8021
        ------
        2000-08-07T23:00:53 INFO(0) ZServer Monitor Server (V1.9) started on port 8099  

        % Anonymous User - July 3, 2002 11:49 am:
         Is there an easy way of changing this and http ports to the default 21 (ftp) and 80 (http)? I've tried using
         z2.py script as indicated somewhere and couldn't get it done.

        % Anonymous User - July 8, 2002 9:56 am:
         Excerpt from the command line options for z2.py, listed in the comments at the top of z2.py:

           -P [ipaddress:]number

             Set the web, ftp and monitor port numbers simultaneously
             as offsets from the number.  The web port number will be number+80.
             The FTP port number will be number+21.  The monitor port number will
             be number+99.

         So, to get ports 80, 21 and 99, add -P 0 to your command line options for z2.py (in startup.bat on Windoze)

        % Anonymous User - Dec. 15, 2002 1:14 pm:
         Does this also work if Zope is being run as a service under Windows NT?