Issue #842 resolved

Cherrypy 3.1.0 under Leopard not binding to external IP address

Anonymous created an issue

I'm trying to run the HelloWorld.py app and it runs fine on the machine (I've tried different Macs, all running Leopard). However, a external call to the app fails to connect so it looks like CherryPy (3.1.0) is only binding to the loopback address under Leopard and not the external IP address of the host. Setting the host address explicitly with server.socket_host makes no difference.

Reported by mjg@caltech.edu

Comments (4)

  1. Anonymous

    I tried this on my leopard box and it worked as documented. In other words, it bound only to the loopback address when server.socket_host was not specified, and bound appropriately to all interfaces with server.socket_host was set to '0.0.0.0'.

    Can you upload the code (with the server.socket_host set) that exhibits the behavior you described in Leopard? Also which version of Leopard are you running? (10.5.0, 10.5.1, 10.5.2?) And which version of python?

  2. Anonymous

    I will look at that on my machine too and if it works as expected I'll close this ticket until we get more information.

  3. Log in to comment