List Info

Thread: Re: easy n00b question




Re: easy n00b question
user name
2007-09-05 00:39:52
On 9/5/07, Alex Le Dain <alexpsi.com.au> wrote:
> in 3.0.2 you need to set the ip address of the machine
in the
> global configuration. This opens up CP to external
access (don't ask me
> why, but at a guess it's security related).
>
> ip_address =
socket.gethostbyname(socket.gethostname())
> global_conf = {'server.socket_host' : ip_address}

I am not a CP expert but I have a small app running on a
server that
works for "outside" traffic without any special
setup using CP 3.0.2
on windows. All I had to do is open up the port on which it
is
listening in the firewall.

EuGeNe -- http://www.3kwa.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )