> > What happens when you "Open your web browser tohttps://localhost:8000";?

"Firefox can't establish a connection to the server at localhost:
8000."


On Mar 30, 1:07 pm, William Stein <wst...@gmail.com> wrote:
> On Tue, Mar 30, 2010 at 8:23 AM, rvaug...@gmail.com <rvaug...@gmail.com> 
> wrote:
> > On a 64-bit Scientific Linux 5.4 machine running Sage 4.3.4,
> > I have as Trusted Services: Secure WWW (HTTPS) & WWW (HTTP).
> > (Secure Linux is 'Permissive.)
>
> > In running Sage, I try it two ways:
> > notebook(address="",open_viewer=False,secure=True)  and:
> > notebook(address="",open_viewer=False)
>
> > In both cases, when I try to open via Firefox, I get:
> > Firefox can't establish a connection to the server at
> > 128.6.24.206:8000.
> > Output of each attempt is appended.
> > All help appreciated.
>
> What happens when you "Open your web browser tohttps://localhost:8000";?
>
>
>
> > Thanks,
> > -Richard Vaughn
>
> > ---------------------
> > notebook(address="",open_viewer=False,secure=True)
> > --------------------
> > sage: notebook(address="",open_viewer=False,secure=True)
> > /usr/share/sage-4.3.4/local/bin/sage-ipython:1: DeprecationWarning:
> > Use 'interface' instead of 'address' when calling notebook(...).
> >  #!/usr/bin/env python
> > The notebook files are stored in: sage_notebook.sagenb
>
> > Please choose a new password for the Sage Notebook 'admin' user.
> > Do _not_ choose a stupid password, since anybody who could guess your
> > password
> > and connect to your machine could access or delete your files.
> > NOTE: Only the md5 hash of the password you type is stored by Sage.
> > You can change your password by typing notebook(reset=True).
>
> > Enter new password:
> > Retype new password:
> > Please login to the notebook with the username 'admin' and the above
> > password.
> > Password changed for user 'admin'.
> > In order to use an SECURE encrypted notebook, you must first run
> > notebook.setup().
> > Now running notebook.setup()
> > Domain name [localhost]: physics
> > Using openssl to generate key
> > openssl genrsa > /home/rvaughn/.sage/notebook/private.pem
> > Generating RSA private key, 512 bit long modulus
> > .....++++++++++++
> > ..................................++++++++++++
> > e is 65537 (0x10001)
> > certtool --generate-self-signed --template /home/rvaughn/.sage/
> > notebook/cert.cfg --load-privkey /home/rvaughn/.sage/notebook/
> > private.pem            --outfile /home/rvaughn/.sage/notebook/
> > public.pem
> > Generating a self signed certificate...
> > X.509 Certificate Information:
> >        Version: 3
> >        Serial Number (hex): 7595133c
> >        Validity:
> >                Not Before: Tue Mar 30 15:08:58 UTC 2010
> >                Not After: Sat Aug 15 15:08:58 UTC 2037
> >        Subject: C=US,O=SAGE (at
> > physics),OU=389,ST=Washington,CN=physics,UID=sage_user
> >        Subject Public Key Algorithm: RSA
> >                Modulus (bits 512):
> >                        be:9d:99:bf:4b:a4:c2:27:71:44:0b:
> > 67:38:c9:94:ba
> >                        43:89:2c:7f:30:ad:8a:4a:69:1c:2b:
> > 1a:ea:d2:56:66
> >                        0b:8b:8a:9e:93:c8:dd:a5:f6:07:4c:07:7f:5b:2a:
> > 40
> >                        4f:4e:55:6a:f9:d6:81:a4:93:d7:65:f5:92:5d:5b:
> > 93
> >                Exponent:
> >                        01:00:01
> >        Extensions:
> >                Basic Constraints (critical):
> >                        Certificate Authority (CA): FALSE
> >                Key Purpose (not critical):
> >                        TLS WWW Server.
> >                Key Usage (critical):
> >                        Digital signature.
> >                        Key encipherment.
> >                Subject Key Identifier (not critical):
> >                        d6c4086720c16b9d041d751315808f6fff3086c8
> > Other Information:
> >        Public Key Id:
> >                d6c4086720c16b9d041d751315808f6fff3086c8
>
> > Signing certificate...
> > Successfully configured notebook.
> > ****************************************************
> > *                                                  *
> > * Open your web browser tohttps://localhost:8000 *
> > *                                                  *
> > ****************************************************
> > There is an admin account.  If you do not remember the password,
> > quit the notebook and type notebook(reset=True).
> > 2010-03-30 11:09:00-0400 [-] Log opened.
> > 2010-03-30 11:09:00-0400 [-] twistd 9.0.0 (/usr/share/sage-4.3.4/local/
> > bin/python 2.6.4) starting up.
> > 2010-03-30 11:09:00-0400 [-] reactor class:
> > twisted.internet.selectreactor.SelectReactor.
> > 2010-03-30 11:09:00-0400 [-] twisted.web2.channel.http.HTTPFactory
> > starting on 8000
> > 2010-03-30 11:09:00-0400 [-] Starting factory
> > <twisted.web2.channel.http.HTTPFactory instance at 0xaaddb48>
>
> > --------------------- notebook(address="",open_viewer=False)
> > --------------------
> > sage: notebook(address="",open_viewer=False)
> > /usr/share/sage-4.3.4/local/bin/sage-ipython:1: DeprecationWarning:
> > Use 'interface' instead of 'address' when calling notebook(...).
> >  #!/usr/bin/env python
> > **********************************************************************
> > WARNING: Running the notebook insecurely not on localhost is dangerous
> > because its possible for people to sniff passwords and gain access to
> > your account. Make sure you know what you are doing.
> > **********************************************************************
> > The notebook files are stored in: sage_notebook.sagenb
> > **********************************************************************
> > WARNING: Insecure notebook server listening on external interface.
> > Unless you are running this via ssh port forwarding, you are
> > **crazy**!  You should run the notebook with the option secure=True.
> > **********************************************************************
> > **************************************************
> > *                                                *
> > * Open your web browser tohttp://localhost:8000*
> > *                                                *
> > **************************************************
> > 2010-03-30 11:11:45-0400 [-] Log opened.
> > 2010-03-30 11:11:45-0400 [-] twistd 9.0.0 (/usr/share/sage-4.3.4/local/
> > bin/python 2.6.4) starting up.
> > 2010-03-30 11:11:45-0400 [-] reactor class:
> > twisted.internet.selectreactor.SelectReactor.
> > 2010-03-30 11:11:45-0400 [-] twisted.web2.channel.http.HTTPFactory
> > starting on 8000
> > 2010-03-30 11:11:45-0400 [-] Starting factory
> > <twisted.web2.channel.http.HTTPFactory instance at 0xa61cb48>
> > ------------------------------------------------------------------------------------------------
>
> > --
> > To post to this group, send email to sage-support@googlegroups.com
> > To unsubscribe from this group, send email to 
> > sage-support+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/sage-support
> > URL:http://www.sagemath.org
>
> > To unsubscribe from this group, send email to 
> > sage-support+unsubscribegooglegroups.com or reply to this email with the 
> > words "REMOVE ME" as the subject.
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to