[Zope] - win95 TCP/IP

Amos Latteier amos@aracnet.com
Mon, 14 Dec 1998 09:59:34 -0800


At 12:11 PM 12/14/98 -0500, Jim wrote:
>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.

I believe you can do this:

D:\Program Files\Zope19b2>bin\python.exe serve.py -h 127.0.0.1
Publishing module Main
Serving HTTP on port 8080 ...

At least it works for me on NT.

-Amos