Webware / localhost vs. real IP address

Diez B. Roggisch deets_noospaam at web.de
Sun Feb 15 13:04:50 EST 2004


Hi,

> If I point my Opera to 127.0.0.1:8080, all works well. If I do the same
> with 192.168.1.2:8080, which should be the same, it says 'could not
> connect to remote server'.

> 
> Any clues?

Yes - sockets that are connected to '' listen to all local addresses, while
localhost listens only to 127.0.0.1 - this is somewhat misleading described
in the socket module. So I guess you should configure webware in a way that
its listening on '', not on localhost.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list