[Zope] - win95 TCP/IP

Jim Fulton jim.fulton@Digicool.com
Mon, 14 Dec 1998 12:11:03 -0500


Paul Prescod wrote:
> 
> I want to develop Zope apps on my Win95 notebook computer without being
> connected to the Internet. When I do so, I get the following message:
> 
>   File "C:\Temp\Paul's Site/lib/python1.5\BaseHTTPServer.py", line 97,
> in server_bind
>     hostname, hostnames, hostaddrs = socket.gethostbyaddr(host)
> socket.error: host not found
> 
> I think that on WinNT there was some kind of loopback adapter I could
> install. I can't find an equivalent for Windows 95.

If you ran ZopeHTTPServer.py directly, you could supply a host
address with the -h option:

  python ZopeHTTPServer -h 120.0.0.1 lib/python/Main

but the bad file generated by the windows binary installer doesn't
let you supply arguments.  We'll fix this for the beta 3 release.

Jim

--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (888) 344-4332              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.