Right.  So if you want port 443, you'll have to explicitly set it when you
start the app:

$ sudo python code.py 443

Then you can hit your app via regular https:   https://localhost

If you don't it defaults to 8080

$ python code.py

So you'll need to append 8080 to the URL:  https://localhost:8080

It still uses ssl, just on a different port.

-Brent


On Wed, Nov 2, 2011 at 11:57 AM, David Caro <[email protected]>wrote:

> Try this:
> http://groups.google.com/group/webpy/browse_thread/thread/bbeb3fc7f24511f1/79bbfb9cf72b2f60?lnk=gst&q=ssl#79bbfb9cf72b2f60
>
> On 12 sep, 20:38, Joseph Price <[email protected]> wrote:
> > >> Looking at 'netstat', I can see python has only openned 8080, nothing
> forssl.
> >
> > > 8080 is the default port. Try accessinghttps://localhost:8080/or
> > > pass 443 as argument to your script.
> >
> > Either way, http not https.
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to