I'm struggling to understand the interfaces syntax.
Because I'm using this as a Windows service, I need to set up the
options.py file.
I see from the documentation ie python web2py.py --help
that the ip option is ignored if interfaces is present.
What about port (logically that should be ignored as well).
To get a minimal config working I've gone with port = 8010 and tried
interfaces="0.0.0.0:8020" (my attempt to follow the documentation)
or
interfaces=[('0.0.0.0',8020)] (based on the example in the options.py file)
But I don't get a server at 8020, only at 8010.
On Thursday, 21 March 2013 00:05:00 UTC+11, Tim Richardson wrote:
>
> The rocket documentation seems to say that the server can be invoked
> listening on multiple ports.
> I'm using it as http and I'd like to deploy rocket as ssl (self signed).
> Then I need to change book marks; running on http and ssl means I can
> gradually transition. Is this going to blow up? Also, in practice can I
> just run two web2py instances on two different ports?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.