Changing the port Zope runs on (Zope Service)
Hi *, How can I change the port Zope runs on when Zope is running as a WinNT Service? After adding the -w80 switch to start.bat and restarting the Zope Service, Zope is still publishing on port 8080? Am I missing something here? Regards, Michael
On Tuesday 16 July 2002 10:57, Michael Fox wrote:
Hi *,
How can I change the port Zope runs on when Zope is running as a WinNT Service?
After adding the -w80 switch to start.bat and restarting the Zope Service, Zope is still publishing on port 8080?
Am I missing something here?
Regards, Michael
iirc, open regedit, and search for z2.py, add -w80 there
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- http://www.kedai.com.my/ http://www.kedai.com.my/eZine http://www.zope.org/Members/kedai http://www.my-zope.org As you woke this morning, and open up your eyes... did you notice the tear stains lining your face were mine.
Either add -w80 to your start string in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Website\Parameters\star t (Website is the name of your zope install); or edit your z2.py file and change HTTP_PORT=8080 to 80. cb -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Michael Fox Sent: dinsdag 16 juli 2002 4:57 To: zope@zope.org Subject: [Zope] Changing the port Zope runs on (Zope Service) Hi *, How can I change the port Zope runs on when Zope is running as a WinNT Service? After adding the -w80 switch to start.bat and restarting the Zope Service, Zope is still publishing on port 8080? Am I missing something here? Regards, Michael _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I believe that you want "-w 80", not "-w80". You have to change it in the registry, where the service parameters are defined. Run regedit, and find this key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Zope2\Parameters (of course, instead of "zope2" you look for the name of your zope directory). Edit the string value of that key, which is the command line that the service uses to start Zope. Add the "-w 80" to it. Close regedit. Then you can go to the service control panel and restart Zope. Cheers, Tom P [Michael Fox] How can I change the port Zope runs on when Zope is running as a WinNT Service? After adding the -w80 switch to start.bat and restarting the Zope Service, Zope is still publishing on port 8080?
participants (4)
-
Bakhtiar A Hamid -
brabander -
Michael Fox -
Thomas B. Passin