ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 07 Sep 2013 13:15:39 +0200notebook: localhost 8080 vs 8000https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/I used Sage v. 5.0 for the first time in a while and couldn't connect to the notebook.
I received the message: Firefox can't establish a connection to the server at localhost:8000.
I was still able to use Sage from the command line, but decided to install v. 5.11 to see if that would fix my problem.
In fact, it did; and now the notebook opens at localhost:8080.
Does anyone know the reason for this?Fri, 06 Sep 2013 22:54:58 +0200https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/Comment by kcrisman for <p>I used Sage v. 5.0 for the first time in a while and couldn't connect to the notebook.
I received the message: Firefox can't establish a connection to the server at localhost:8000.</p>
<p>I was still able to use Sage from the command line, but decided to install v. 5.11 to see if that would fix my problem. <br/>
In fact, it did; and now the notebook opens at localhost:8080.</p>
<p>Does anyone know the reason for this?</p>
https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/?comment=17028#post-id-17028This was just a change decided on with one of the notebook upgrades, it's not a bug. I'm not really sure about the rationale, though I think that 8000 was more popular so it was better to use 8080.Fri, 06 Sep 2013 23:53:09 +0200https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/?comment=17028#post-id-17028Answer by ppurka for <p>I used Sage v. 5.0 for the first time in a while and couldn't connect to the notebook.
I received the message: Firefox can't establish a connection to the server at localhost:8000.</p>
<p>I was still able to use Sage from the command line, but decided to install v. 5.11 to see if that would fix my problem. <br/>
In fact, it did; and now the notebook opens at localhost:8080.</p>
<p>Does anyone know the reason for this?</p>
https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/?answer=15432#post-id-15432IIRC, the default port was changed in keeping with the official/unofficial suggestions for port numbers. See [Wikipedia](http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers) :)Sat, 07 Sep 2013 13:15:39 +0200https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/?answer=15432#post-id-15432Answer by tmonteil for <p>I used Sage v. 5.0 for the first time in a while and couldn't connect to the notebook.
I received the message: Firefox can't establish a connection to the server at localhost:8000.</p>
<p>I was still able to use Sage from the command line, but decided to install v. 5.11 to see if that would fix my problem. <br/>
In fact, it did; and now the notebook opens at localhost:8080.</p>
<p>Does anyone know the reason for this?</p>
https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/?answer=15429#post-id-154298000 or 8080 are arbitrary *default* choices. This default choice changed when the notebook became flask-based (see [this ticket](http://trac.sagemath.org/ticket/11080)). You can specify the port you want as follows:
from Sage command line:
notebook(port=8888)
or from a shell:
sage -notebook port=8888
Sat, 07 Sep 2013 06:48:57 +0200https://ask.sagemath.org/question/10520/notebook-localhost-8080-vs-8000/?answer=15429#post-id-15429