[Zope] newbie: cannot connect to localhost after installing

Dieter Maurer dieter@handshake.de
Wed, 18 Apr 2001 21:45:51 +0200 (CEST)


David Little writes:
 > I have installed 2.3.1 & zserver from the rpm on Mandrake 7.2 (freq)
 > 
 > running "/etc/init.d/zope start" as root seems to work. 
 > 
 > In the browser "http://localhost:8080/manage" results in an error message 
 > 	"cannot connect to localhost"
 > 
 > But there is a kpm process
 > 542 zope /usr/bin/python z2.py -u zope -z /usr/share/zope 
 > 	-Z /var/run/zwatchdog.pid -w 8080 -f 8021 -m -l /var/log/zope
 > which presumably means the zserver is running on 8080
Seems that your DNS subsystem (which may be "/etc/hosts") does not
map "localhost".

You may try to add:

127.0.0.1       localhost

to your "/etc/hosts" file.


Dieter