[Zope] Trying zope on Linux

Tino Wildenhain tino at wildenhain.de
Thu Dec 15 08:29:44 EST 2005


Allen Huang schrieb:
> 
> I'm trying zope on linux but I have come a cross a problem.
>  
> I windows, I simply changed the port number from 8080 to 80 
> in zope.conf  so I could get to my site without typeing the port.
>  
> But in Linux, I did the same thing but it always tells me that some 
> other server already occupied this port. (and I just started too, so 
> there shouldn't be any server. right??)
>  
> I'm now trying to figure out what server to close but with no luck at all..
>  
> can someone help me so I can display my site on port 80?
> 

You can basically do the same in Linux. You need to start
zope as root (it switches to nobody or your configured user
from zope.conf) to be able to bind port 80 - and you
have to make sure no other program currently binds there
(as apache or the like)

netstat -lntp  should tell you.

Recommended, however (even more for productive sites)
is at least a simple apache running in front of zope
and zope using unprivilegued port (>1024) and
possibly non privilegued user even on start.

HTH
Tino


More information about the Zope mailing list