RE: [Zope] changing port from 9673 default
JCC: For this application (where I have two dozen users who all know and trust each other working behind a well maintained firewall), I like your iptables suggestion better than setting up a proxy web server. I also appreciate Jamie Heilman's effort in taking the time to make sure I was aware of the security/stability issues of using a naked zope server. I tried changing the port to 8080 using /etc/zopectl/zopectlrc (per Jamie's suggestion that I was failing because I was trying to use a privileged port), and this silently failed (I still saw the zope intro page being served on port 9673). I apologize for only searching the last three month's of the list archive before posting. I appreciate your time and patience in responding to and educating me. Thank you, George Perry Electro Scientific Industries 13900 NW Science Park Drive Portland, OR 97229-5497 (503) 671-5234 -----Original Message----- From: J. Cameron Cooper [mailto:jccooper@jcameroncooper.com] Sent: Friday, November 07, 2003 1:25 PM To: George Perry Cc: zope@zope.org Subject: Re: [Zope] changing port from 9673 default
So changing the port is only an option if you run zope as root?
You must start Zope as root to bind to a "low" port. It will insist on being given a regular user to actually run as: read doc/SECURITY.txt. Another option is using your OS to do it:: /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 to get port masquerading from 8080 to 80 (although it won't work on localhost). This is an oft-discussed topic on the list, by the way. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
On Fri, 2003-11-07 at 14:12, George Perry wrote:
I tried changing the port to 8080 using /etc/zopectl/zopectlrc (per Jamie's suggestion that I was failing because I was trying to use a privileged port), and this silently failed (I still saw the zope intro page being served on port 9673).
If this is a package installation, your port might be hard-coded somewhere such as /etc/conf.d/zope. FWIW, Dylan
I tried changing the port to 8080 using /etc/zopectl/zopectlrc (per Jamie's suggestion that I was failing because I was trying to use a privileged port), and this silently failed (I still saw the zope intro page being served on port 9673).
That's bizarre. Your packaging must be doing it strangely. Dare I suggest your do a recursive grep for that magic number to try and find where it's hidden? It'll take a while, but it really can't miss.
I apologize for only searching the last three month's of the list archive before posting. I appreciate your time and patience in responding to and educating me.
Not a problem: I mention it for purposes of research only. The list archives, I have found, can sometimes be extremely un-searchable for some reason. I have in the past not been able to find, save by browsing, messages which I know are there (because I wrote them.) Someday I'll put together a site for collecting the best information on the list. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (3)
-
Dylan Reinhardt -
George Perry -
J. Cameron Cooper